diff options
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,4 +1,5 @@ { + "root": true, "env": { "node": true }, @@ -14,6 +15,7 @@ "eqeqeq": 2, "indent": [2, 2], "key-spacing": [2, {"beforeColon": false, "afterColon": true}], + "keyword-spacing": 2, "new-cap": 2, "new-parens": 2, "no-array-constructor": 2, @@ -28,8 +30,8 @@ "no-inline-comments": 0, "no-irregular-whitespace": 2, "no-mixed-spaces-and-tabs": 2, - "no-multi-spaces": 2, "no-multiple-empty-lines": 0, + "no-multi-spaces": 2, "no-new-object": 2, "no-param-reassign": 0, "no-process-env": 2, @@ -40,6 +42,7 @@ "no-trailing-spaces": 2, "no-underscore-dangle": 0, "no-void": 2, + "object-curly-spacing": [2, "never"], "one-var": [2, "never"], "operator-assignment": [2, "always"], "padded-blocks": 0, @@ -47,14 +50,10 @@ "radix": 2, "semi": [2, "always"], "semi-spacing": [2, {"before": false, "after": true}], - "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}], "space-before-blocks": [2, "always"], - "space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}], - "space-in-brackets": [2, "never"], + "spaced-comment": [2, "always"], "space-in-parens": [2, "never"], - "space-return-throw-case": 2, "space-unary-ops": [2, {"words": true, "nonwords": false}], - "spaced-line-comment": [2, "always"], "strict": [2, "global"], "vars-on-top": 0, "wrap-iife": [2, "inside"], |