/* 👋 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! 💖 */ module.exports = { "env": { "browser": true, "node": true }, "extends": [ "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "prettier", ], "parser": "@typescript-eslint/parser", "parserOptions": { "project": "tsconfig.json", "sourceType": "module" }, "plugins": [ "eslint-plugin-import", "eslint-plugin-prefer-arrow", "eslint-plugin-jsdoc", "@typescript-eslint" ], "rules": { "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/array-type": [ "error", { "default": "array" } ], "@typescript-eslint/await-thenable": "error", "@typescript-eslint/ban-ts-comment": "error", "@typescript-eslint/ban-types": "off", "@typescript-eslint/consistent-type-assertions": "off", "@typescript-eslint/dot-notation": "error", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/member-delimiter-style": [ "off", { "multiline": { "delimiter": "none", "requireLast": true }, "singleline": { "delimiter": "semi", "requireLast": false } } ], "@typescript-eslint/member-ordering": "off", "@typescript-eslint/naming-convention": [ "error", // { "selector": "variableLike", "format": ["camelCase"] }, { "selector": "enum", "format": ["PascalCase"] }, { "selector": "interface", "format": ["PascalCase"], "prefix": ["I"]} ], "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-empty-interface": "error", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extra-semi": "warn", "@typescript-eslint/no-floating-promises": "off", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-implied-eval": "error", "@typescript-eslint/no-inferrable-types": "off", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-misused-promises": "off", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-assertion": "warn", "@typescript-eslint/no-parameter-properties": "off", "@typescript-eslint/no-shadow": [ "off", { "hoist": "all" } ], "@typescript-eslint/no-this-alias": "off", "@typescript-eslint/no-unnecessary-type-assertion": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unused-expressions": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/prefer-as-const": "error", "@typescript-eslint/prefer-for-of": "error", "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/prefer-regexp-exec": "off", "@typescript-eslint/quotes": "off", "@typescript-eslint/require-await": "off", "@typescript-eslint/restrict-plus-operands": "off", "@typescript-eslint/restrict-template-expressions": "off", "@typescript-eslint/semi": [ "off", null ], "@typescript-eslint/triple-slash-reference": [ "error", { "path": "always", "types": "prefer-import", "lib": "always" } ], "@typescript-eslint/unbound-method": "off", "@typescript-eslint/unified-signatures": "off", "arrow-parens": [ "off", "always" ], "comma-dangle": "off", "complexity": "off", "constructor-super": "error", "eqeqeq": [ "error", "smart" ], "guard-for-in": "off", "id-blacklist": "off", /*[ "error", "any", "Number", "number", "String", "string", "Boolean", "boolean", "Undefined", "undefined" ],*/ "id-match": "error", "import/order": "off", "jsdoc/check-alignment": "error", "jsdoc/check-indentation": "error", "jsdoc/newline-after-description": "error", "max-classes-per-file": "off", "max-len": "off", "new-parens": "error", "no-alert": "error", "no-array-constructor": "off", "no-bitwise": "off", "no-caller": "error", "no-cond-assign": "error", "no-console": "error", "no-debugger": "error", "no-empty": "off", "no-empty-function": "off", "no-eval": "error", "no-extra-semi": "off", "no-fallthrough": "off", "no-implied-eval": "off", "no-invalid-this": "off", "no-new-wrappers": "error", "no-throw-literal": "off", "no-trailing-spaces": "error", "no-undef-init": "off", "no-underscore-dangle": "off", "no-unsafe-finally": "error", "no-unused-labels": "error", "no-unused-vars": "off", "no-var": "error", "object-shorthand": "error", "one-var": [ "error", "never" ], "prefer-arrow/prefer-arrow-functions": "off", "prefer-const": "off", "prefer-rest-params": "off", "prefer-spread": "off", "radix": "error", "require-await": "off", "use-isnan": "error", "valid-typeof": "off" } };