/
.eslintrc
47 lines (47 loc) · 882 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
46
47
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true,
"amd": true,
"commonjs": true
},
"parserOptions": {
"sourceType": "module",
"jsx": true,
"ecmaVersion": 2017,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"jest",
"prettier",
"react",
"react-hooks"
],
"extends": [
"airbnb",
"airbnb/hooks",
"prettier",
"prettier/react",
"prettier",
"prettier/@typescript-eslint",
"prettier/babel",
"prettier/flowtype",
"prettier/react",
"prettier/standard",
"prettier/unicorn",
"prettier/vue"
],
"rules": {
"indent": "off",
"no-console": "off",
"quotes": ["error", "double"],
"semi": ["error", "always"],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"prettier/prettier": "error"
}
}