Ivo Julca
0fb4b18e66
Gulpfile: check for ES3 issues in data files
...
Also, remove trailing commas everywhere.
2014-09-04 14:12:07 -05:00
Guangcong Luo
354a784370
npm test now exits with code 1 on JSLint fail
...
This is mostly for Travis CI compatibility
2014-08-16 23:53:13 -05:00
Guangcong Luo
536c6d0d3f
Support npm test
...
Also made linting synchronous, which makes Gulp's output look
slightly nicer (and time it, which is cool).
2014-08-10 21:16:14 -04:00
Guangcong Luo
af2026436a
More style fixes and Gulpfile updates
...
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.
The code has been fixed to match the new stricter standards.
JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
Guangcong Luo
12b673bb49
Fix style errors; update gulpfile
...
I used a hack to make the multiple declaration errors go away,
so all that remained in jsHint were actual errors, which I've
now mostly fixed.
All this linting ended up uncovering one actual bug: Uproar's
message not showing. It's a very minor bug in a move no one uses,
so I'm going to fold it into this commit.
2014-08-10 18:06:44 -04:00
Slayer95
b025743d34
Global 'sanitize' is now 'escapeHTML' method of Tools
2014-05-12 20:52:29 -05:00
小太
5c8fc7b982
Space after function for anonymous functions
2014-04-22 01:58:16 +10:00
Slayer95
05e7060474
Deprecate 'toUserid' global
...
Replaced by 'toId'.
2014-04-18 16:49:16 -05:00
Slayer95
3fc36ef80f
'clampIntRange is now a method of 'Tools' and no longer global
2014-04-18 15:14:54 -05:00
Slayer95
4c18aa60f1
Remove global 'fs'
2014-04-17 14:37:32 -05:00
Slayer95
1f98a77768
Add globals to gulpfile
2014-04-17 01:13:15 -04:00
Brian Chen
bdede3b5b0
Change gulpfile to take advantage of gulp APIs
...
Gulp's `gulp.src` can also take an [array of globs](https://github.com/gulpjs/gulp/blob/master/docs/API.md ), which makes iterating through all the directories manually rather redundant.
2014-04-16 00:12:04 -07:00
Guangcong Luo
7432f66476
More jsHint options
2014-02-10 00:49:31 -06:00
Tyler Stark
0ffdd34741
Making JSHint actually look helpful, and explicitly ignoring eqeqeq errors
2014-02-09 20:22:33 -06:00
Tyler Stark
9195dbfd35
Adding config for JSHint (as well as DRYing up the lint task.)
2014-02-09 19:31:56 -06:00
Tyler Stark
949d29be63
Adding Gulp and JSHint
2014-02-09 19:02:06 -06:00