-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
56 lines (56 loc) · 1.08 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
{
"parser": "babel-eslint",
"env": {
"node": true,
"es6": true,
"browser": true
},
"settings": {
"react": {
"version": "16.8.0"
}
},
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"extends": [
"prettier",
"eslint:recommended",
"plugin:react/recommended",
"react-app"
],
"plugins": [
"prettier",
"react",
"react-hooks"
],
"rules": {
"prettier/prettier": [
2,
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"semi": false,
"parser": "flow",
"jsxBracketSameLine": true
}
],
"no-unused-vars": 2,
"no-console": 2,
"no-restricted-syntax": 2,
"no-undef": 2,
"no-useless-catch": 0,
"no-misleading-character-class": 0,
"no-async-promise-executor": 0,
"require-atomic-updates": 0,
"react/react-in-jsx-scope": 0,
"react-hooks/rules-of-hooks": 2,
"react-hooks/exhaustive-deps": 1
}
}