{ "env": { "amd": true, "es6": true, "jest": true, "node": true }, "extends": [ "eslint:recommended", "node" ], "parserOptions": { "ecmaVersion": 8 }, "rules": { "arrow-body-style": "off", "array-bracket-newline": [ "error", "consistent" ], "array-bracket-spacing": [ "error", "always", { "singleValue": false } ], "array-callback-return": "error", "arrow-parens": [ "error", "as-needed" ], "arrow-spacing": "error", "block-scoped-var": "error", "block-spacing": "error", "brace-style": "error", "camelcase": [ "off", { "properties": "never" } ], "class-methods-use-this": "off", "comma-dangle": [ "error", "always-multiline" ], "comma-spacing": "error", "comma-style": "error", "computed-property-spacing": "error", "consistent-return": "error", "consistent-this": [ "error", "self" ], "curly": [ "error", "all" ], "eol-last": "error", "eqeqeq": "error", "for-direction": "error", "func-call-spacing": "error", "func-name-matching": "error", "generator-star-spacing": "error", "getter-return": "error", "global-require": "error", "guard-for-in": "error", "handle-callback-err": "error", "import/no-commonjs": "off", "import/no-nodejs-modules": "off", "implicit-arrow-linebreak": "error", "indent": [ "error", 4, { "ArrayExpression": "first", "CallExpression": { "arguments": "first" }, "FunctionDeclaration": { "parameters": "first" }, "MemberExpression": "off", "ObjectExpression": "first" } ], "key-spacing": [ "error", { "mode": "minimum" } ], "keyword-spacing": "error", "line-comment-position": "error", "linebreak-style": [ "error", "unix" ], "lines-between-class-members": "error", "max-depth": "error", "max-len": [ "error", { "code": 100, "comments": 100, "ignoreStrings": true, "ignoreTemplateLiterals": true } ], "max-nested-callbacks": "error", "max-statements-per-line": "error", "multiline-comment-style": [ "error", "separate-lines" ], "multiline-ternary": "error", "new-cap": "error", "new-parens": "error", "newline-per-chained-call": [ "error", { "ignoreChainWithDepth": 3 } ], "no-array-constructor": "error", "no-await-in-loop": "error", "no-bitwise": "error", "no-buffer-constructor": "error", "no-caller": "error", "no-catch-shadow": "error", "no-confusing-arrow": "error", "no-console": 0, "no-div-regex": "error", "no-empty-function": [ "error", { "allow": [ "arrowFunctions" ] } ], "no-eq-null": "error", "no-eval": "error", "no-extra-label": "error", "no-extra-parens": "error", "no-floating-decimal": "error", "no-implicit-coercion": "error", "no-implied-eval": "error", "no-inline-comments": "error", "no-iterator": "error", "no-label-var": "error", "no-labels": "error", "no-lone-blocks": "error", "no-loop-func": "error", "no-mixed-requires": "error", "no-multi-spaces": [ "error", { "exceptions": { "Property": true } } ], "no-multi-str": "error", "no-multiple-empty-lines": [ "error", { "max": 2 } ], "no-negated-condition": "error", "no-nested-ternary": "error", "no-new": "error", "no-new-func": "error", "no-new-object": "error", "no-new-require": "error", "no-octal-escape": "error", "no-param-reassign": "error", "no-process-env": 0, "no-proto": "error", "no-return-assign": "error", "no-return-await": "error", "no-script-url": "error", "no-self-compare": "error", "no-sequences": "error", "no-shadow": "error", "no-shadow-restricted-names": "error", "no-sync": "off", "no-tabs": "error", "no-invalid-this": "off", "no-template-curly-in-string": "error", "no-throw-literal": "error", "no-trailing-spaces": "error", "no-undef-init": "error", "no-undefined": "error", "no-unmodified-loop-condition": "error", "no-unneeded-ternary": "error", "no-unused-expressions": "off", "no-use-before-define": "error", "no-useless-call": "error", "no-useless-concat": "error", "no-useless-constructor": "error", "no-useless-return": "error", "no-void": "error", "no-whitespace-before-property": "error", "no-with": "error", "object-curly-spacing": [ "error", "always" ], "one-var": [ "error", "never" ], "operator-linebreak": [ "error", "after", { "overrides": { "?": "after", ":": "after" } } ], "padded-blocks": [ "error", "never" ], "prefer-numeric-literals": "error", "prefer-promise-reject-errors": "error", "prefer-rest-params": "error", "prefer-template": "error", "quotes": [ "error", "single", { "avoidEscape": true } ], "radix": "error", "require-await": "error", "rest-spread-spacing": "error", "semi": [ "error", "always" ], "semi-spacing": "error", "semi-style": "error", "space-before-blocks": "error", "space-before-function-paren": [ "error", { "anonymous": "always", "named": "never", "asyncArrow": "always" } ], "space-in-parens": "error", "space-infix-ops": "error", "space-unary-ops": "error", "spaced-comment": "error", "switch-colon-spacing": "error", "symbol-description": "error", "template-curly-spacing": "error", "template-tag-spacing": "error", "unicode-bom": "error", "valid-jsdoc": [ "warn", { "requireReturn": false, "requireReturnDescription": false, "requireParamDescription": false } ], "vars-on-top": "error", "wrap-iife": "error", "yield-star-spacing": "error", "yoda": "error" } }