-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
27 lines (27 loc) · 923 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
{
"parser": "babel-eslint",
"extends": ["standard", "standard-react"],
"globals": {
"window": true,
"document": true,
"localStorage": true,
"fetch": false,
"top": true,
"URLSearchParams": true,
"expect": true,
"describe": true,
"test": true
},
"rules": {
"indent": ["error", 2, {"SwitchCase": 1}],
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"comma-dangle": ["error", "always-multiline"],
"prefer-template": "error",
"camelcase": "off",
"react/jsx-indent" : ["error", 2],
"react/jsx-indent-props" : ["error", 2],
"generator-star-spacing": ["error", {"before": false, "after": true}]
}
}