-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
45 lines (39 loc) · 1002 Bytes
/
.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
{
"parser": "babel-eslint",
"extends": [
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended"
],
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
},
"plugins": ["react", "react-hooks", "jsx-a11y"],
"rules": {
"exclude": "/node_modules/",
"semi": ["error", "always"],
"quotes": ["error", "single"],
"no-console": 1,
"no-var": 2,
"no-unused-vars": 1,
"react/no-deprecated": 1,
"react/no-typos": 1,
"react/no-this-in-sfc": 2,
"react/no-unused-state": 2,
"react/prop-types": 1,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 1,
"jsx-a11y/alt-text": 2
}
}