-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
40 lines (40 loc) · 914 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
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"arrowFunctions": true,
"destructuring": true,
"classes": true,
"defaultParams": true,
"blockBindings": true,
"modules": true,
"objectLiteralComputedProperties": true,
"jsx": true
}
},
"extends": "airbnb",
"plugins": [
"react",
"import",
"react-hooks"
],
"rules": {
"semi": ["error", "never"],
"global-require": "off",
"jsx-quotes": ["error", "prefer-single"],
"prefer-const": "error",
"import/no-unresolved": "off",
"react/jsx-one-expression-per-line": "off",
"react/forbid-prop-types": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"env": {
"browser": true,
"node": true,
"jest": true
}
}