{ "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 8 }, "env": { "es6": true, "node": true }, "globals": {}, "rules": { "no-extra-parens": [1, "all"], "complexity": [1, 28], "default-case": 2, "dot-location": [2, "property"], "dot-notation": 2, "eqeqeq": 2, "guard-for-in": 2, "no-alert": 2, "no-caller": 2, "no-div-regex": 1, "no-else-return": 2, "no-eq-null": 2, "no-eval": 2, "no-extend-native": 2, "no-extra-bind": 2, "no-implicit-coercion": [2, { "boolean": true, "number": true, "string": true }], "no-implied-eval": 2, "no-iterator": 2, "no-labels": 2, "no-lone-blocks": 2, "no-loop-func": 2, "no-multi-str": 2, "no-new-func": 2, "no-new-wrappers": 2, "no-octal-escape": 2, "no-param-reassign": 2, "no-proto": 2, "no-return-assign": [2, "always"], "no-return-await": 2, "no-script-url": 2, "no-self-compare": 2, "no-sequences": 2, "no-throw-literal": 2, "no-unmodified-loop-condition": 1, "no-unused-expressions": 2, "no-useless-call": 2, "no-void": 2, "no-warning-comments": 1, "no-with": 2, "radix": 2, "wrap-iife": [2, "inside"], "yoda": 2, "strict": [2, "global"], "no-label-var": 2, "no-shadow": 1, "no-shadow-restricted-names": 2, "no-undef-init": 2, "no-undefined": 0, "no-use-before-define": 2, "callback-return": 0, "handle-callback-err": 2, "no-mixed-requires": 2, "no-new-require": 2, "no-path-concat": 2, "camelcase": [1, {"properties":"always"}], "comma-dangle": [1, "never"], "comma-spacing": [1, {"after":true}], "computed-property-spacing": [2, "never"], "consistent-this": [2, "self"], "eol-last": 2, "func-call-spacing": 2, "func-style": [1, "expression"], "indent": ["warn", 2, { "SwitchCase": 1, "FunctionDeclaration": {"parameters": "first"}, "FunctionExpression": {"parameters": "first"}, "CallExpression": {"arguments": "first"}, "ArrayExpression": "first", "flatTernaryExpressions": true }], "keyword-spacing": [1, {"before": true}], "key-spacing": [1, { "singleLine": {"beforeColon": false, "afterColon": true}, "multiLine": {"align": "colon"} }], "linebreak-style": [2, "unix"], "max-depth": [2, 4], "max-len": [1, {"code": 80, "tabWidth": 2, "comments": 80}], "max-nested-callbacks": [2, 4], "max-params": [1, 5], "max-statements": [1, 50], "new-cap": [1, {"newIsCap": true, "capIsNew": false}], "new-parens": 2, "no-array-constructor": 2, "no-bitwise": 2, "no-inline-comments": 1, "no-lonely-if": 2, "no-mixed-spaces-and-tabs": 2, "no-multiple-empty-lines": [1, {"max": 2, "maxEOF": 1, "maxBOF": 0}], "no-nested-ternary": 1, "no-new-object": 1, "no-plusplus": 1, "no-trailing-spaces": 2, "no-unneeded-ternary": 1, "object-curly-spacing": [1, "never", {}], "operator-assignment": [1, "always"], "operator-linebreak": [1, "after"], "quotes": [1, "single", "avoid-escape"], "semi": [2, "always"], "semi-spacing": [1, {"after": true}], "space-before-blocks": [1, "always"], "space-before-function-paren": [1, { "named": "never", "anonymous": "always", "asyncArrow": "always" }], "space-in-parens": [1, "never"], "space-infix-ops": 1, "space-unary-ops": [1, {"words":true}], "spaced-comment": [1, "always", {}], "arrow-spacing": [1, {"before": true, "after": true}], "generator-star-spacing": 1, "no-useless-computed-key": 2, "no-useless-constructor": 2, "no-useless-rename": 1, "no-var": 2, "object-shorthand": [1, "always"], "prefer-const": 2, "prefer-rest-params": 1, "prefer-spread": 1, "require-yield": 0, "rest-spread-spacing": 1, "template-curly-spacing": 1 } }