• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "extends": "../.eslintrc.json",
3    "parserOptions": {
4        "tsconfigRootDir": "src",
5        "project": "./tsconfig-base.json"
6    },
7    "rules": {
8        "@typescript-eslint/no-unnecessary-qualifier": "error",
9        "@typescript-eslint/no-unnecessary-type-assertion": "error"
10    },
11    "overrides": [
12        {
13            "files": ["lib/*.d.ts"],
14            "rules": {
15                "@typescript-eslint/interface-name-prefix": "off",
16                "@typescript-eslint/prefer-function-type": "off",
17                "@typescript-eslint/unified-signatures": "off",
18
19                // scripts/eslint/rules
20                "no-keywords": "off",
21
22                // eslint
23                "no-var": "off"
24            }
25        },
26        {
27            "files": ["lib/es2019.array.d.ts"],
28            "rules": {
29                "@typescript-eslint/array-type": "off"
30            }
31        }
32    ]
33}
34