diff --git a/.eslintrc b/.eslintrc index 6ae498adf..a3be3a479 100644 --- a/.eslintrc +++ b/.eslintrc @@ -21,7 +21,7 @@ rules: comma-style: [2, "last"] consistent-this: [2, "self"] func-style: [2, "declaration"] - indent: [2, 4, {"SwitchCase": true}] + indent: [2, 4, {"SwitchCase": 1}] linebreak-style: [2, "unix"] max-nested-callbacks: [2, 3] no-lonely-if: 2 @@ -33,15 +33,17 @@ rules: space-after-keywords: [2, "always"] space-before-blocks: [2, "always"] 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-unary-ops: [2, {"words": true, "nonwords": false}] - spaced-line-comment: [2, "always"] + spaced-comment: [2, "always"] max-depth: [2, 5] max-len: [2, 79, 4] max-params: [2, 5] max-statements: [2, 30] no-bitwise: 2 - no-reserved-keys: 2 + quote-props: [2, "always"] global-strict: 0 quotes: 0