diff options
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..fdd1ab4 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,52 @@ +{ + "env": { + "node": true + }, + "rules": { + "block-scoped-var": 2, + "brace-style": [2, "stroustrup"], + "camelcase": 2, + "comma-spacing": [2, {"before": false, "after": true}], + "comma-style": [2, "last"], + "consistent-this": [2, "self"], + "curly": 2, + "eol-last": 2, + "eqeqeq": 2, + "key-spacing": [2, {"beforeColon": false, "afterColon": true}], + "new-cap": 2, + "new-parens": 2, + "no-array-constructor": 2, + "no-bitwise": 2, + "no-constant-condition": 0, + "no-floating-decimal": 2, + "no-inline-comments": 0, + "no-irregular-whitespace": 2, + "no-mixed-spaces-and-tabs": 2, + "no-multi-spaces": 2, + "no-multiple-empty-lines": 0, + "no-new-object": 2, + "no-process-env": 2, + "no-reserved-keys": 0, + "no-self-compare": 2, + "no-space-before-semi": 2, + "no-spaced-func": 2, + "no-trailing-spaces": 2, + "no-underscore-dangle": 0, + "no-void": 2, + "operator-assignment": [2, "always"], + "padded-blocks": 0, + "quotes": 0, + "radix": 2, + "semi": [2, "always"], + "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}], + "space-before-blocks": [2, "always"], + "space-in-brackets": [2, "never"], + "space-in-parens": [2, "never"], + "space-return-throw-case": 2, + "space-unary-ops": [2, {"words": true, "nonwords": false}], + "spaced-line-comment": [2, "always"], + "vars-on-top": 0, + "wrap-iife": [2, "inside"], + "yoda": [2, "never"] + } +} |