-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
46 lines (46 loc) · 1.01 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"standard",
"plugin:jest/recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended",
"plugin:prettier/recommended",
"prettier/flowtype",
"prettier/react",
"prettier/standard"
],
"parserOptions": {
"ecmaVersion": 2018
},
"plugins": [
"react-hooks",
"flowtype"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"prettier/prettier": [
"error",
{
"semi": false,
"trailingComma": "none",
"singleQuote": true
}
]
},
"settings": {
"react": {
"version": "detect",
"flowVersion": "detect"
}
}
}