forked from trazyn/ieaseMusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 987 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"js": true,
"legacyDecorators": true
}
},
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"plugins": ["react"],
"rules": {
"semi": [2, "always"],
"new-cap": [0],
"prefer-promise-reject-errors": [1],
"indent": [2, 4, {
"SwitchCase": 1
}],
"comma-dangle": [2, "only-multiline"],
"space-before-function-paren": [2, "never"],
"operator-linebreak": [2, "before"],
"no-floating-decimal": [0],
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/jsx-boolean-value": [2, "always"],
"react/prop-types": [0],
"jsx-quotes": [2, "prefer-double"]
},
"extends": ["standard", "standard-react"]
}