-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
63 lines (63 loc) · 1.06 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
52
53
54
55
56
57
58
59
60
61
62
63
{
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": [
"react",
"import",
"jsx-a11y"
],
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"__DEV__": false,
"__TEST__": false,
"__PROD__": false,
"__COVERAGE__": false
},
"rules": {
"no-unused-vars": "warn",
"react/display-name": 0,
"import/no-unused-modules": 0,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"key-spacing": 0,
"jsx-quotes": [
2,
"prefer-single"
],
"max-len": "off",
"object-curly-spacing": [
2,
"always"
],
"no-return-assign": "off"
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx"
]
}
}
}
}