/* 👋 Hi! This file was autogenerated by tslint-to-eslint-config. https://github.com/typescript-eslint/tslint-to-eslint-config It represents the closest reasonable ESLint configuration to this project's original TSLint configuration. We recommend eventually switching this configuration to extend from the recommended rulesets in typescript-eslint. https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md Happy linting! 💖 */ { "env": { "node": true }, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "import" ], "parserOptions": { "project": "./tsconfig.json", "sourceType": "module" }, "settings": { "import/parsers": { "@typescript-eslint/parser": [".ts"] }, "import/resolver": { "typescript": { "alwaysTryTypes": true } } }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript" ], "rules": { "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/array-type": [ "error", { "default": "array" } ], "@typescript-eslint/ban-types": [ "error", { "types": { "Object": { "message": "Avoid using the `Object` type. Did you mean `object`?" }, "Function": { "message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`." }, "Boolean": { "message": "Avoid using the `Boolean` type. Did you mean `boolean`?" }, "Number": { "message": "Avoid using the `Number` type. Did you mean `number`?" }, "String": { "message": "Avoid using the `String` type. Did you mean `string`?" }, "Symbol": { "message": "Avoid using the `Symbol` type. Did you mean `symbol`?" } } } ], "@typescript-eslint/camelcase": "off", "@typescript-eslint/consistent-type-assertions": "off", "@typescript-eslint/indent": [ "off", 2, { "ObjectExpression": "first", "FunctionDeclaration": { "parameters": "first" }, "FunctionExpression": { "parameters": "first" }, "ignoredNodes": ["TemplateLiteral > *"], "SwitchCase": 1 } ], "@typescript-eslint/member-delimiter-style": "error", "@typescript-eslint/no-empty-function": "error", "@typescript-eslint/no-empty-interface": "error", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-parameter-properties": "off", "@typescript-eslint/no-require-imports": "off", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/prefer-for-of": "error", "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/promise-function-async": "off", "@typescript-eslint/quotes": [ "error", "double" ], "@typescript-eslint/semi": [ "error" ], "@typescript-eslint/triple-slash-reference": "error", "@typescript-eslint/unified-signatures": "error", "arrow-body-style": "error", "arrow-parens": [ "error", "always" ], "camelcase": "off", "class-methods-use-this": "error", "comma-dangle": "off", "complexity": "off", "constructor-super": "error", "default-case": "error", "dot-notation": "error", "eqeqeq": [ "error", "always" ], "guard-for-in": "error", "id-blacklist": [ "error", "any", "Number", "number", "String", "string", "Boolean", "boolean", "Undefined", "undefined" ], "id-match": "error", "linebreak-style": [ "error", "unix" ], "max-classes-per-file": [ "error", 3 ], "max-len": [ "error", { "code": 120 } ], "max-lines": [ "error", 400 ], "new-parens": "error", "no-bitwise": "error", "no-caller": "error", "no-cond-assign": "error", "no-console": "off", "no-constant-condition": "error", "no-debugger": "error", "no-duplicate-case": "error", "no-duplicate-imports": "error", "no-empty": "error", "no-eval": "error", "no-extra-bind": "error", "no-fallthrough": "off", "no-invalid-this": "off", "no-irregular-whitespace": "error", "no-magic-numbers": "off", "no-multiple-empty-lines": [ "error", { "max": 1 } ], "no-new-func": "error", "no-new-wrappers": "error", "no-redeclare": "error", "no-return-await": "error", "no-sequences": "error", "no-shadow": [ "error", { "hoist": "all" } ], "no-sparse-arrays": "error", "no-template-curly-in-string": "error", "no-throw-literal": "error", "no-trailing-spaces": [ "error", { "ignoreComments": true } ], "no-undef-init": "error", "no-underscore-dangle": 0, "no-unsafe-finally": "error", "no-unused-expressions": [ "error", { "allowShortCircuit": true } ], "no-unused-labels": "error", "no-var": "error", "object-shorthand": "error", "one-var": [ "off", "never" ], "padding-line-between-statements": [ "error", { "blankLine": "always", "prev": "*", "next": "return" } ], "prefer-const": "error", "prefer-object-spread": "error", "prefer-template": "error", "quote-props": [ "error", "as-needed" ], "radix": "error", "space-in-parens": [ "error", "never" ], "spaced-comment": ["error", "always", { "markers": ["/"] }], "use-isnan": "error", "valid-typeof": "off" } }