{ "extends": "standard", "env": { "es6": true, "browser": true, "jest": true, "node": true }, "parser": "@typescript-eslint/parser", "plugins": [ "jest", "import", "node", "promise", "standard", "@typescript-eslint" ], "rules": { "array-bracket-spacing": ["error", "never"], "arrow-spacing": "error", "brace-style": ["warn", "stroustrup"], "comma-dangle": "error", "computed-property-spacing": ["error", "never"], "default-case": [ "error", { "commentPattern": "^skip\\sdefault" } ], "eqeqeq": [ "error", "always", { "null": "ignore" } ], "func-call-spacing": "error", "generator-star-spacing": [ "error", { "before": false, "after": true } ], "guard-for-in": "warn", "indent": [ "error", 4, { "SwitchCase": 1, "VariableDeclarator": 1, "outerIIFEBody": 1, "MemberExpression": 1, "FunctionDeclaration": { "parameters": 1, "body": 1 }, "FunctionExpression": { "parameters": 1, "body": 1 }, "CallExpression": { "arguments": 1 }, "ArrayExpression": 1, "ObjectExpression": 1, "ImportDeclaration": 1, "flatTernaryExpressions": false, "ignoreComments": false } ], "jsx-quotes": ["error", "prefer-double"], "keyword-spacing": "error", "line-comment-position": [ "warn", { "position": "above" } ], "lines-around-comment": "off", "max-depth": ["error", 6], "max-len": [ "error", { "code": 200, "tabWidth": 4, "ignoreUrls": true, "ignoreComments": true } ], "max-lines": [ "error", { "max": 1000, "skipBlankLines": true, "skipComments": true } ], "max-lines-per-function": [ "warn", { "max": 100, "skipBlankLines": true, "skipComments": true } ], "max-nested-callbacks": "warn", "max-params": ["warn", 6], "max-statements": ["error", 50], "max-statements-per-line": "error", "multiline-comment-style": ["warn", "separate-lines"], "new-parens": "warn", "no-bitwise": "warn", "no-class-assign": "warn", "no-confusing-arrow": [ "warn", { "allowParens": true } ], "no-console": "warn", "no-constant-condition": "warn", "no-debugger": "warn", "no-delete-var": "warn", "no-dupe-class-members": "off", "no-dupe-keys": "warn", "no-duplicate-imports": "warn", "no-else-return": "error", "no-empty": "error", "no-eval": "warn", "no-extra-bind": "warn", "no-extra-boolean-cast": "warn", "no-func-assign": "warn", "no-global-assign": "error", "no-implied-eval": "warn", "no-inner-declarations": "warn", "no-irregular-whitespace": "warn", "no-label-var": "warn", "no-labels": [ "warn", { "allowLoop": true } ], "no-lone-blocks": "warn", "no-multi-spaces": [ "error", { "exceptions": { "Property": true, "BinaryExpression": true, "VariableDeclarator": true, "ImportDeclaration": true } } ], "no-multi-str": "warn", "no-multiple-empty-lines": [ "error", { "max": 3, "maxEOF": 1 } ], "no-octal": "warn", "no-octal-escape": "warn", "no-redeclare": "warn", "no-this-before-super": "warn", "no-undef-init": "warn", "no-unneeded-ternary": "warn", "no-unused-vars": "off", "no-use-before-define": ["warn", "nofunc"], "no-useless-constructor": "off", "no-var": "error", "no-void": "error", "no-with": "warn", "object-curly-spacing": ["error", "never"], "one-var": ["warn", "never"], "operator-linebreak": ["error", "before"], "prefer-const": "off", "prefer-rest-params": "error", "prefer-spread": "error", "quotes": ["error", "single"], "radix": "error", "semi": ["error", "always"], "semi-spacing": "error", "semi-style": ["error", "last"], "space-before-function-paren": [ "error", { "anonymous": "always", "named": "never" } ], "space-unary-ops": "warn", "spaced-comment": [ "error", "always", { "exceptions": ["-", "+", "\""], "block": { "balanced": true } } ], "unicode-bom": "warn", "valid-typeof": "error", "wrap-iife": ["error", "any"], "@typescript-eslint/camelcase": "error", "@typescript-eslint/class-name-casing": "error", "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/consistent-type-assertions": "warn", "@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "debug" }], "@typescript-eslint/prefer-function-type": "error", "import/default": "error", "import/export": "off", "import/max-dependencies": "off", "import/named": "error", "import/namespace": "error", "import/newline-after-import": "error", "import/no-absolute-path": "error", "import/no-amd": "warn", "import/no-deprecated": "error", "import/no-extraneous-dependencies": "off", "import/no-internal-modules": "off", "import/no-mutable-exports": "off", "import/no-named-as-default": "off", "import/no-named-as-default-member": "error", "import/no-namespace": "off", "import/no-nodejs-modules": "off", "import/no-restricted-paths": "off", "import/no-unassigned-import": "off", "import/no-unresolved": "off", "import/no-webpack-loader-syntax": "warn", "import/order": "warn", "import/prefer-default-export": "off" } }