-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
51 lines (51 loc) · 1.07 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
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:jest/recommended",
"plugin:testing-library/recommended",
"plugin:testing-library/react",
"plugin:jest-dom/recommended",
"plugin:jsx-a11y/strict",
"plugin:import/errors"
],
"plugins": [
"import",
"react-hooks",
"jest",
"testing-library",
"jest-dom",
"jsx-a11y"
],
"rules": {
"no-console": ["error", { "allow": ["error"] }],
"no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "ignoreRestSiblings": true }
],
"import/no-cycle": "error",
"react/jsx-boolean-value": [
"error",
"never",
{ "always": ["initialValue"] }
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"jsx-a11y/label-has-for": "off"
},
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"alias": [["basis", "./src"]]
}
}
}