/* 👋 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": { "es6": true, "node": true }, "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.json", "sourceType": "module" }, "plugins": [ "eslint-plugin-import", "eslint-plugin-jsdoc", "@typescript-eslint", "@typescript-eslint/tslint" ], "root": true, "rules": { "@typescript-eslint/await-thenable": "error", "@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/member-delimiter-style": [ "error", { "multiline": { "delimiter": "none", "requireLast": true }, "singleline": { "delimiter": "semi", "requireLast": false } } ], "@typescript-eslint/naming-convention": [ "error", { "selector": "variable", "format": [ "camelCase", "UPPER_CASE", "PascalCase" ], "leadingUnderscore": "allow", "trailingUnderscore": "forbid" } ], "@typescript-eslint/no-empty-function": "error", "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-misused-new": "error", "@typescript-eslint/no-unnecessary-qualifier": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unused-expressions": [ "error", { "allowTaggedTemplates": true, "allowShortCircuit": true } ], "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/quotes": "off", "@typescript-eslint/semi": [ "error" ], "@typescript-eslint/triple-slash-reference": [ "error", { "path": "always", "types": "prefer-import", "lib": "always" } ], "@typescript-eslint/type-annotation-spacing": "error", "@typescript-eslint/unified-signatures": "error", "brace-style": [ "error", "1tbs", { "allowSingleLine": true } ], "comma-dangle": ["error", "only-multiline"], "curly": [ "error", "multi-line" ], "eol-last": "error", "eqeqeq": [ "error", "smart" ], "id-denylist": [ "error", "any", "Number", "number", "String", "string", "Boolean", "boolean", "Undefined", "undefined" ], "id-match": "error", "import/no-deprecated": "error", "jsdoc/check-alignment": "error", "jsdoc/check-indentation": "error", "jsdoc/newline-after-description": "error", "new-parens": "error", "no-caller": "error", "no-cond-assign": "error", "no-constant-condition": "error", "no-control-regex": "error", "no-duplicate-imports": "error", "no-empty": "error", "no-empty-function": "off", "no-eval": "error", "no-fallthrough": "error", "no-invalid-regexp": "error", "no-multiple-empty-lines": "error", "no-redeclare": "error", "no-regex-spaces": "error", "no-return-await": "error", "no-throw-literal": "error", "no-trailing-spaces": "error", "no-underscore-dangle": "off", "no-unused-expressions": "off", "no-unused-labels": "error", "no-var": "error", "one-var": [ "error", "never" ], "quotes": "off", "radix": "error", "semi": "off", "space-before-function-paren": [ "error", "always" ], "space-in-parens": [ "error", "never" ], "spaced-comment": [ "error", "always", { "markers": [ "/" ] } ], "use-isnan": "error", "@typescript-eslint/tslint/config": [ "error", { "rules": { "block-spacing": [ true, "always" ], "brace-style": [ true, "1tbs", { "allowSingleLine": true } ], "handle-callback-err": [ true, "^(err|error)$" ], "no-duplicate-case": true, "no-empty-character-class": true, "no-ex-assign": true, "no-extra-boolean-cast": true, "no-inner-declarations": [ true, "functions" ], "no-multi-spaces": true, "no-unexpected-multiline": true, "object-curly-spacing": [ true, "always" ], "strict-type-predicates": true, "ter-arrow-spacing": [ true, { "before": true, "after": true } ], "ter-func-call-spacing": [ true, "never" ], "ter-indent": true, "ter-no-irregular-whitespace": true, "ter-no-sparse-arrays": true, "valid-typeof": true, "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-rest-spread", "check-type", "check-typecast", "check-type-operator", "check-preblock" ] } } ] } }