-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
51 lines (51 loc) · 1.17 KB
/
.eslintrc
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
45
46
47
48
49
50
51
{
"extends": "seek",
"plugins": ["@preconstruct/format-js-tag"],
"parserOptions": {
"project": ["./tsconfig.json", "./scripts/tsconfig.json"]
},
"rules": {
"@preconstruct/format-js-tag/format": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"no-debugger": "warn",
"import/order": [
"error",
{
"newlines-between": "always",
"alphabetize": { "order": "asc" },
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
],
"pathGroups": [
{
"pattern": "*.css",
"group": "index",
"position": "after",
"patternOptions": { "matchBase": true }
}
]
}
],
"react/react-in-jsx-scope": "off"
},
"settings": {
"jest": {
"version": 29 // otherwise ESLint fails because it can't detect Jest version
},
"react": {
"version": "18" // suppress ESLint warning about missing React version
}
}
}