File tree 4 files changed +49
-3
lines changed
4 files changed +49
-3
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/scripts/.eslintrc.yml
Original file line number Diff line number Diff line change 12
12
"url" : " https://github.com/ios-control/ios-deploy"
13
13
},
14
14
"devDependencies" : {
15
- "jshint" : " 2.5.8"
15
+ "eslint" : " ~4.19.1" ,
16
+ "eslint-config-semistandard" : " ^12.0.1" ,
17
+ "eslint-config-standard" : " ^11.0.0" ,
18
+ "eslint-plugin-import" : " ^2.12.0" ,
19
+ "eslint-plugin-node" : " ^6.0.1" ,
20
+ "eslint-plugin-promise" : " ^3.8.0" ,
21
+ "eslint-plugin-standard" : " ^3.1.0"
16
22
},
17
23
"scripts" : {
18
24
"preinstall" : " ./src/scripts/check_reqs.js && xcodebuild" ,
19
25
"build-test" : " npm run pycompile && xcodebuild -target ios-deploy-lib && xcodebuild test -scheme ios-deploy-tests" ,
20
- "test " : " npm run jshint && npm run build-test " ,
21
- "jshint " : " node node_modules/jshint/bin/jshint src/scripts/*.js " ,
26
+ "eslint " : " eslint src/scripts/*.js " ,
27
+ "test " : " npm run eslint && npm run build-test " ,
22
28
"pycompile" : " python -m py_compile src/scripts/*.py"
23
29
},
24
30
"keywords" : [
Original file line number Diff line number Diff line change
1
+ rules :
2
+ # common src exception:
3
+ camelcase : off
4
+
5
+ # FUTURE TBD:
6
+ no-unused-vars :
7
+ - error
8
+ - args : none
9
+
10
+ # TBD easy fix:
11
+ padded-blocks : off
12
+
13
+ # TODO resolve:
14
+ no-mixed-spaces-and-tabs : off
15
+ no-trailing-spaces : off
16
+
17
+ # FUTURE TBD:
18
+ handle-callback-err : off
19
+ indent : off
20
+ no-multiple-empty-lines : off
21
+ no-tabs : off
22
+ one-var : off
You can’t perform that action at this time.
0 commit comments