forked from Splyse/NeoLink
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.eslintrc
32 lines (32 loc) · 809 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
{
"parser": "babel-eslint",
"plugins": [
"json",
"react"
],
"env": {
"es6": true,
"jest": true
},
"globals": {
"chrome": true,
"clearInterval": true,
"clearTimeout": true,
"console": true,
"document": true,
"expect": true,
"Promise": true,
"setInterval": true,
"setTimeout": true,
"window": true
},
"extends": ["standard", "standard-react"],
"rules": {
"comma-dangle": ["error", "always-multiline"],
"object-curly-spacing": ["error", "always"],
"no-var": "error",
"quotes": ["error", "single"],
"react/jsx-curly-spacing": [2, {"when": "always", "allowMultiline": false}],
"space-before-function-paren": 0
}
}