-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.12 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"extends": ["@nkzw"],
"ignorePatterns": ["dist", "build"],
"overrides": [
{
"files": ["**/__test__/**", "**/__tests__/**"],
"rules": {
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["**/create-triplex-project/templates/**", "*.d.ts"],
"rules": {
"header/header": "off"
}
}
],
"plugins": ["header"],
"rules": {
"@nkzw/no-instanceof": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unnecessary-type-constraint": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
],
"header/header": ["error", "scripts/header.js"],
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"no-extra-parens": "off",
"no-inner-declarations": "off",
"no-unused-expressions": "off",
"prefer-const": "off",
"react/no-unknown-property": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-top-level-await": "off"
}
}