-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
39 lines (38 loc) · 850 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
{
"extends": "eslint:recommended",
"ecmaFeatures": {
"modules": true
},
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"System": false,
"Promise": false
},
"rules": {
"no-console": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/jsx-no-undef": 2,
"semi": [2, "always"],
"array-bracket-spacing": [2, "always"],
"comma-dangle": [2, "never"],
"eol-last": 2,
"indent": [2, 2, {
"SwitchCase": 1
}],
"no-multiple-empty-lines": 2,
"object-curly-spacing": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"strict": 0,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous":"always","named":"never"}]
},
"plugins": [
"react"
]
}