|
| 1 | + |
| 2 | +{ |
| 3 | + "parser": "@typescript-eslint/parser", |
| 4 | + "parserOptions": { |
| 5 | + "project": "./tsconfig.json" |
| 6 | + }, |
| 7 | + "plugins": ["@typescript-eslint", "filenames", "github", "import", "no-async-foreach"], |
| 8 | + "extends": [ |
| 9 | + "eslint:recommended", |
| 10 | + "plugin:@typescript-eslint/recommended", |
| 11 | + "plugin:@typescript-eslint/recommended-requiring-type-checking", |
| 12 | + "plugin:github/recommended", |
| 13 | + "plugin:github/typescript" |
| 14 | + ], |
| 15 | + "rules": { |
| 16 | + "filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"], |
| 17 | + "import/extensions": "error", |
| 18 | + "import/no-amd": "error", |
| 19 | + "import/no-commonjs": "error", |
| 20 | + "import/no-dynamic-require": "error", |
| 21 | + "import/no-extraneous-dependencies": ["error", {"devDependencies": false}], |
| 22 | + "import/no-namespace": "off", |
| 23 | + "import/no-unresolved": "error", |
| 24 | + "import/no-webpack-loader-syntax": "error", |
| 25 | + "no-async-foreach/no-async-foreach": "error", |
| 26 | + "no-console": "off", |
| 27 | + "no-sequences": "error", |
| 28 | + "one-var": ["error", "never"], |
| 29 | + "sort-imports": ["error", { "allowSeparatedGroups": true }] |
| 30 | + }, |
| 31 | + "overrides": [{ |
| 32 | + // "temporarily downgraded during transition to eslint |
| 33 | + "files": "**", |
| 34 | + "rules": { |
| 35 | + "@typescript-eslint/ban-types": "off", |
| 36 | + "@typescript-eslint/explicit-module-boundary-types": "off", |
| 37 | + "@typescript-eslint/no-explicit-any": "off", |
| 38 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 39 | + "@typescript-eslint/no-unsafe-call": "off", |
| 40 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 41 | + "@typescript-eslint/no-unsafe-return": "off", |
| 42 | + "@typescript-eslint/no-unused-vars": "off", |
| 43 | + "@typescript-eslint/no-var-requires": "off", |
| 44 | + "@typescript-eslint/prefer-regexp-exec": "off", |
| 45 | + "@typescript-eslint/require-await": "off", |
| 46 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 47 | + "eslint-comments/no-use": "off", |
| 48 | + "func-style": "off", |
| 49 | + "github/array-foreach": "off", |
| 50 | + "github/no-then": "off", |
| 51 | + "import/no-extraneous-dependencies": "off", |
| 52 | + "no-shadow": "off", |
| 53 | + "no-sparse-arrays": "off", |
| 54 | + "no-throw-literal": "off", |
| 55 | + "no-useless-escape": "off", |
| 56 | + "sort-imports": "off" |
| 57 | + } |
| 58 | + }] |
| 59 | +} |
0 commit comments