-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.json
32 lines (32 loc) · 925 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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"plugins": ["react"],
"rules": {
"semi": [2, "always"],
"new-cap": [0],
"prefer-promise-reject-errors": [0],
"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"]
}