File tree Expand file tree Collapse file tree 5 files changed +69
-7
lines changed Expand file tree Collapse file tree 5 files changed +69
-7
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": "standard"
3+ }
Original file line number Diff line number Diff line change 1+ root : true
2+
3+ extends : semistandard
4+
5+ rules :
6+ indent :
7+ - error
8+ - 4
9+
10+ no-unused-vars :
11+ - error
12+ - args : after-used
13+
14+ # excpetions specified in:
15+ # - src/.eslintrc.yml
16+ # - spec/.eslintrc.yml
Original file line number Diff line number Diff line change 3030 "simctl" : " ^1.1.1"
3131 },
3232 "devDependencies" : {
33- "jasmine" : " ~2.6.0" ,
34- "jscs" : " ^2.11.0" ,
35- "jshint" : " ^2.9.1"
33+ "eslint" : " ^4.19.1" ,
34+ "eslint-config-semistandard" : " ^12.0.1" ,
35+ "eslint-config-standard" : " ^11.0.0" ,
36+ "eslint-plugin-import" : " ^2.12.0" ,
37+ "eslint-plugin-node" : " ^6.0.1" ,
38+ "eslint-plugin-promise" : " ^3.8.0" ,
39+ "eslint-plugin-standard" : " ^3.1.0" ,
40+ "jasmine" : " ~2.6.0"
3641 },
3742 "scripts" : {
43+ "eslint" : " eslint *.js src spec" ,
3844 "test" : " npm run jasmine" ,
39- "posttest" : " npm run jshint" ,
40- "jshint" : " jshint src ./ios-sim.js" ,
41- "postjshint" : " npm run jscs" ,
42- "jscs" : " jscs src ./ios-sim.js" ,
45+ "posttest" : " npm run eslint" ,
4346 "jasmine" : " jasmine --config=spec/jasmine.json"
4447 }
4548}
Original file line number Diff line number Diff line change 1+ env :
2+ jasmine : true
3+
4+ rules :
5+ # TBD easy fix:
6+ padded-blocks : off
7+ spaced-comment : off
8+
9+ # TODO resolve:
10+ eol-last : off
11+ semi : off
12+
13+ # TBD easy resolve:
14+ key-spacing : off
15+
16+ # FUTURE TBD:
17+ indent : off
18+ quotes : off
19+ space-before-function-paren : off
Original file line number Diff line number Diff line change 1+ rules :
2+ # common src exception:
3+ camelcase : off
4+
5+ # TBD easy fix:
6+ padded-blocks : off
7+
8+ # TODO resolve:
9+ eqeqeq : off
10+ no-unused-vars : off
11+ node/no-deprecated-api : off
12+
13+ # TBD easy resolve:
14+ comma-spacing : off
15+ no-useless-escape : off
16+
17+ # FUTURE TBD:
18+ no-multiple-empty-lines : off
19+ one-var : off
20+ spaced-comment : off
21+ space-before-function-paren : off
You can’t perform that action at this time.
0 commit comments