Ivo Julca
44adce3f78
Turn on strict mode globally for real
2015-11-08 15:43:47 -05:00
Ivo Julca
8619ba2022
Turn on strict mode globally for real
2015-11-08 15:38:15 -05:00
Ivo Julca
793b4977b9
Eslint: loosen new-cap rule
...
Some of our globals are functions -yet not constructors.
2015-11-08 15:18:21 -05:00
Guangcong Luo
ded9f1cd5d
Fix duplicate cases in random set generators
2015-11-07 23:12:19 -06:00
Ivo Julca
7dddb66253
Migrate build system to ESLint
...
JSHint's ES6 support is shaky, and its development has stalled as of late.
Since ESLint can do by itself both JSHint and JSCS' jobs, this commit replaces them.
Gulp and its related dependencies are also hereby removed.
2015-11-07 21:36:49 -05:00
Juanma Serrano
c4ac8d6e2f
Use strict mode and let and const instead of var
...
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Ivo Julca
e9b09d1096
Test: fix suite in Node.js prior to 2.2.0
2015-09-11 01:04:52 -05:00
Ivo Julca
85379ff12e
Test: don't listen for connections
2015-09-11 00:38:49 -05:00
Ivo Julca
cd36fbfde2
Gulpfile: add more JSCS rules
...
- Disallow spaces between function names and round brackets.
- Disallow spaces inside array/object literal brackets.
- Disallow spaces before semicolons.
- Disallow yoda conditions for equality.
2015-07-28 19:38:53 -05:00
Ivo Julca
b441375b5a
Test: move utility functions to dev-tools/
2015-07-07 03:08:18 -05:00
Ivo Julca
8329e6f532
JSCS: fix crash in validateConditionals rule for empty blocks
2015-06-18 19:35:41 -05:00
Ivo Julca
c08aba185b
Implement JSCS rule to enforce switch cases not to be indented
2015-06-12 03:41:04 -05:00
Ivo Julca
b740197244
Implement JSCS rule to enforce PS conditionals' style
2015-06-12 03:36:36 -05:00