-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 949 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
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"ignorePatterns": [
"node_modules/",
"dist/",
"coverage/",
"benchmark/",
"scripts/",
"docs/"
],
"parserOptions": {
"project": ["./tsconfig.json", "./__tests__/tsconfig.json"]
},
"extends": [
"eslint-config-grisaia-react",
"eslint-config-grisaia-typescript",
"prettier"
],
"plugins": ["prettier"],
"rules": {
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
]
},
"overrides": [
{
"files": ["*.test.ts", "*.test.tsx", "*.spec.ts", "*.spec.tsx"],
"globals": {
"vi": true
},
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "off"
}
}
]
}