-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
.eslintrc.json
42 lines (42 loc) · 1.22 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
41
42
{
"extends": ["@nkzw"],
"ignorePatterns": ["dist", "build", "test-results", "syntax-error.tsx"],
"overrides": [
{
"files": ["**/create-triplex-project/templates/**"],
"rules": {
"header/header": "off"
}
}
],
"plugins": ["header"],
"rules": {
"@nkzw/no-instanceof": "off",
"@typescript-eslint/consistent-type-imports": [
"error",
{
"disallowTypeAnnotations": false,
"fixStyle": "inline-type-imports"
}
],
"@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",
"space-before-function-paren": "off",
"unicorn/prefer-top-level-await": "off"
}
}