module.exports = { "env": { "browser": true, "es6": true, "node": true }, "extends": [ 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', ], "parser": "@typescript-eslint/parser", "parserOptions": { "project": "tsconfig.eslint.json", "sourceType": "module" }, "plugins": [ "eslint-plugin-import", "eslint-plugin-prefer-arrow", "eslint-plugin-jsdoc", "@typescript-eslint" ], "root": true, "rules": { "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/array-type": "off", "@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/dot-notation": "error", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/member-ordering": "off", "@typescript-eslint/naming-convention": [ "off", { "selector": "variable", "format": [ "camelCase", "UPPER_CASE" ], "leadingUnderscore": "forbid", "trailingUnderscore": "forbid" } ], "@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-parameter-properties": "off", "@typescript-eslint/no-shadow": [ "off", { "hoist": "all" } ], "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-var-requires": "error", "@typescript-eslint/prefer-for-of": "error", "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/triple-slash-reference": [ "error", { "path": "always", "types": "prefer-import", "lib": "always" } ], "@typescript-eslint/typedef": "off", "@typescript-eslint/unified-signatures": "error", "comma-dangle": "off", "complexity": "off", "constructor-super": "error", "curly": "off", "dot-notation": "off", "eqeqeq": [ "error", "smart" ], "guard-for-in": "error", "id-denylist": "off", "id-match": "off", "import/order": "off", "jsdoc/check-alignment": "error", "jsdoc/check-indentation": "error", "max-classes-per-file": "off", "max-len": "off", "new-parens": "error", "no-bitwise": "error", "no-caller": "error", "no-cond-assign": "error", "no-console": "off", "no-debugger": "off", "no-empty": "error", "no-empty-function": "off", "no-eval": "error", "no-fallthrough": "off", "no-invalid-this": "off", "no-multiple-empty-lines": "off", "no-new-wrappers": "error", "no-return-await": "error", "no-shadow": "off", "no-throw-literal": "error", "no-trailing-spaces": "error", "no-undef-init": "error", "no-underscore-dangle": "off", "no-unsafe-finally": "error", "no-unused-expressions": "off", "no-unused-labels": "error", "no-use-before-define": "off", "no-var": "error", "object-shorthand": "error", "one-var": [ "error", "never" ], "prefer-arrow/prefer-arrow-functions": "off", "prefer-const": "error", "quotes": "off", "radix": "error", "space-before-function-paren": "off", "spaced-comment": [ "error", "always", { "markers": [ "/" ] } ], "use-isnan": "error", "valid-typeof": "off" } };