34 lines
948 B
JSON
34 lines
948 B
JSON
{
|
|
"extends": "../.eslintrc.json",
|
|
"parserOptions": {
|
|
"tsconfigRootDir": "src",
|
|
"project": "./tsconfig-base.json"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
"@typescript-eslint/no-unnecessary-type-assertion": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["lib/*.d.ts"],
|
|
"rules": {
|
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
"@typescript-eslint/prefer-function-type": "off",
|
|
"@typescript-eslint/unified-signatures": "off",
|
|
|
|
// scripts/eslint/rules
|
|
"no-keywords": "off",
|
|
|
|
// eslint
|
|
"no-var": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["lib/es2019.array.d.ts"],
|
|
"rules": {
|
|
"@typescript-eslint/array-type": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|