Really fix .eslintrc for eslint v1.0.0.
This commit is contained in:
parent
2405bf1984
commit
d8a49f95a8
10
.eslintrc
10
.eslintrc
@ -21,7 +21,7 @@ rules:
|
|||||||
comma-style: [2, "last"]
|
comma-style: [2, "last"]
|
||||||
consistent-this: [2, "self"]
|
consistent-this: [2, "self"]
|
||||||
func-style: [2, "declaration"]
|
func-style: [2, "declaration"]
|
||||||
indent: [2, 4, {"SwitchCase": true}]
|
indent: [2, 4, {"SwitchCase": 1}]
|
||||||
linebreak-style: [2, "unix"]
|
linebreak-style: [2, "unix"]
|
||||||
max-nested-callbacks: [2, 3]
|
max-nested-callbacks: [2, 3]
|
||||||
no-lonely-if: 2
|
no-lonely-if: 2
|
||||||
@ -33,15 +33,17 @@ rules:
|
|||||||
space-after-keywords: [2, "always"]
|
space-after-keywords: [2, "always"]
|
||||||
space-before-blocks: [2, "always"]
|
space-before-blocks: [2, "always"]
|
||||||
space-before-function-paren: [2, {"anonymous": "never", "named": "never"}]
|
space-before-function-paren: [2, {"anonymous": "never", "named": "never"}]
|
||||||
space-in-brackets: [2, "never"]
|
object-curly-spacing: [2, "never"]
|
||||||
|
array-bracket-spacing: [2, "never"]
|
||||||
|
computed-property-spacing: [2, "never"]
|
||||||
space-in-parens: [2, "never"]
|
space-in-parens: [2, "never"]
|
||||||
space-unary-ops: [2, {"words": true, "nonwords": false}]
|
space-unary-ops: [2, {"words": true, "nonwords": false}]
|
||||||
spaced-line-comment: [2, "always"]
|
spaced-comment: [2, "always"]
|
||||||
max-depth: [2, 5]
|
max-depth: [2, 5]
|
||||||
max-len: [2, 79, 4]
|
max-len: [2, 79, 4]
|
||||||
max-params: [2, 5]
|
max-params: [2, 5]
|
||||||
max-statements: [2, 30]
|
max-statements: [2, 30]
|
||||||
no-bitwise: 2
|
no-bitwise: 2
|
||||||
no-reserved-keys: 2
|
quote-props: [2, "always"]
|
||||||
global-strict: 0
|
global-strict: 0
|
||||||
quotes: 0
|
quotes: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user