-
Notifications
You must be signed in to change notification settings - Fork 227
/
Copy path.eslintrc
executable file
·51 lines (51 loc) · 1.14 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": [
"@gilbarbara/eslint-config",
"@gilbarbara/eslint-config/vitest",
"@gilbarbara/eslint-config/testing-library"
],
"env": {
"browser": true,
"cypress/globals": true
},
"globals": {
"fetch": false,
"ga": false,
"APP__BRANCH": false,
"APP__BUILD_DATE": false,
"APP__GITHASH": false,
"APP__VERSION": false
},
"plugins": [
"cypress",
"redux-saga"
],
"overrides": [
{
"files": ["test/**/*.ts?(x)"],
"globals": {
"jsdom": false,
"navigate": true,
"renderWithRedux": true
},
"rules": {
"no-console": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"react/function-component-definition": "off"
}
},
{
"files": ["config/**/*", "tools/**/*"],
"rules": {
"no-console": "off",
"import/no-dynamic-require": "off"
}
}
],
"rules": {
"react/no-unescaped-entities": "off",
"react/state-in-constructor": "off"
}
}