-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
54 lines (54 loc) · 1.19 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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"globals": {
"__dirname": false,
"process": false
},
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-multi-spaces": 2,
"no-multiple-empty-lines": 2,
"no-unexpected-multiline": 2,
"array-bracket-spacing": 2,
"comma-spacing": 2,
"block-spacing": 2,
"key-spacing": 2,
"object-curly-spacing": 2,
"semi-spacing": 2,
"computed-property-spacing": 2,
"arrow-spacing": 2,
"keyword-spacing": 2,
"no-console": 0,
"eol-last": 2,
"indent": [
"error",
4
],
"quotes": [
"error",
"single"
],
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"react/no-danger": 0,
"semi": [
"error",
"always"
]
}
}