-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
43 lines (43 loc) · 909 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
39
40
41
42
43
{
"extends": "airbnb",
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"parser": "babel-eslint",
"rules": {
"jsx-a11y/anchor-has-conten": 0,
"max-len": 0,
"react/display-name": 0,
"array-bracket-spacing": [2, "always"],
"comma-dangle": [2, "never"],
"eol-last": 2,
"indent": [2, 2, {
"SwitchCase": 1
}],
"jsx-quotes": [2, "prefer-double"],
"no-multiple-empty-lines": 2,
"no-unused-vars": 2,
"no-var": 2,
"object-curly-spacing": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"strict": 0,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never"
}]
},
"plugins": [
"jsx-a11y",
"react",
"babel"
]
}