-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
27 lines (27 loc) · 1021 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"extends": ["plugin:@typescript-eslint/strict-type-checked", "plugin:import/recommended"],
"plugins": ["@typescript-eslint", "import", "unused-imports"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/consistent-type-imports": ["error", {
"fixStyle": "inline-type-imports"
}],
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/unified-signatures": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"unused-imports/no-unused-imports": "error",
"import/no-unresolved": "off",
"import/extensions": ["error", "ignorePackages"]
},
"ignorePatterns": ["dist", "node_modules"],
"root": true
}