-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
42 lines (42 loc) · 972 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
{
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"forOf": true,
"jsx": true,
"es6": true,
"experimentalObjectRestSpread" : true
},
},
"rules": {
"no-shadow": 0,
"comma-dangle": 2,
"indent": 2,
"react/prop-types": 2,
"react/jsx-indent-props" : 2,
"react/jsx-closing-bracket-location" : 2,
"object-curly-spacing" : 2,
"arrow-body-style": 2,
"no-console": 2,
"max-len": 2,
"prefer-template": 2,
"import/no-unresolved": 2,
"global-require": 0,
"no-underscore-dangle": 2
},
"plugins": [
"react"
],
"globals": {
"__DEVSERVER__": true,
"__DEVCLIENT__": true,
"google": true,
}
}