-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
44 lines (44 loc) · 1.11 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
43
44
{
"overrides": [
{
"files": ["**/*.test.ts", "**/*.test.tsx"],
"env": {
"jest": true
},
"rules": {
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["**/*.ts", "**/*.tsx"],
"extends": [
"plugin:@typescript-eslint/eslint-plugin/recommended",
"plugin:@typescript-eslint/eslint-plugin/eslint-recommended"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": "off"
}
}
],
"rules": {
"import/extensions": ["off", "ignorePackages", "error"],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"no-use-before-define": "off",
"unicorn/no-null": "off",
"no-magic-numbers": "off",
"unicorn/number-literal-case": "off"
},
"env": {
"browser": true
},
"extends": [
"@eslint-kit/base",
"@eslint-kit/typescript",
"@eslint-kit/node",
"@eslint-kit/prettier"
],
"parser": "@typescript-eslint/parser"
}