-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
61 lines (61 loc) · 1.24 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"parser": "babel-eslint",
"env": {
"browser": true,
"amd": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:jest/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react", "import", "jest"],
"rules": {
"import/no-unresolved": 0,
"react/jsx-no-undef": 2,
"react/no-deprecated": 2,
"comma-dangle": [2, "always-multiline"],
"quotes": [
1,
"single",
{
"avoidEscape": true
}
],
"no-undef": 2,
"global-strict": 0,
"no-extra-semi": 2,
"semi": ["error", "never"],
"no-underscore-dangle": 0,
"no-console": 1,
"no-unused-vars": 2,
"no-shadow": 0,
"no-unused-expressions": 0,
"consistent-return": 0,
"prefer-destructuring": 0,
"no-useless-constructor": 0,
"max-len": 0,
"prefer-const": 0,
"no-trailing-spaces": [
1,
{
"skipBlankLines": true
}
],
"no-unreachable": 1,
"no-alert": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/prop-types": 2
},
"settings": {
"react": {
"version": "16.5.2"
}
}
}