-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc.json
47 lines (47 loc) · 938 Bytes
/
.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
47
{
"root": true,
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:jsx-a11y/recommended",
"plugin:react-hooks/recommended",
"airbnb"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"rules": {
"no-template-curly-in-string": 0,
"no-unused-vars": ["error", {"vars": "all", "args": "after-used"}],
"react/jsx-one-expression-per-line": 0,
"react/react-in-jsx-scope": 0,
"react/require-default-props": 0
},
"globals": {
"React": "writable"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"paths": ["."]
}
}
},
"plugins": []
}