eslint: use native indent checker + indents update

This commit is contained in:
Vitaly Puzrin 2017-03-26 20:13:58 +03:00
parent 588a4376d2
commit 3555e3bf88
3 changed files with 900 additions and 906 deletions

View file

@ -9,9 +9,6 @@ globals:
Uint16Array: false Uint16Array: false
Int32Array: false Int32Array: false
plugins:
- nodeca
rules: rules:
accessor-pairs: 2 accessor-pairs: 2
array-bracket-spacing: [ 2, "always", { "singleValue": true, "objectsInArrays": true, "arraysInArrays": true } ] array-bracket-spacing: [ 2, "always", { "singleValue": true, "objectsInArrays": true, "arraysInArrays": true } ]
@ -33,7 +30,7 @@ rules:
func-style: [ 2, declaration ] func-style: [ 2, declaration ]
guard-for-in: 2 guard-for-in: 2
handle-callback-err: 2 handle-callback-err: 2
#indent: [ 2, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1 } ] indent: [ 2, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1 } ]
# key-spacing: [ 2, { "align": "value" } ] # key-spacing: [ 2, { "align": "value" } ]
keyword-spacing: 2 keyword-spacing: 2
linebreak-style: 2 linebreak-style: 2
@ -134,5 +131,3 @@ rules:
use-isnan: 2 use-isnan: 2
valid-typeof: 2 valid-typeof: 2
yoda: [ 2, never, { "exceptRange": true } ] yoda: [ 2, never, { "exceptRange": true } ]
nodeca/indent: [2, spaces, 2]

File diff suppressed because it is too large Load diff

View file

@ -31,7 +31,6 @@
"bluebird": "^3.5.0", "bluebird": "^3.5.0",
"browserify": "*", "browserify": "*",
"eslint": "^3.12.2", "eslint": "^3.12.2",
"eslint-plugin-nodeca": "~1.0.3",
"grunt": "^1.0.1", "grunt": "^1.0.1",
"grunt-cli": "^1.2.0", "grunt-cli": "^1.2.0",
"grunt-contrib-connect": "^1.0.2", "grunt-contrib-connect": "^1.0.2",