-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
52 lines (52 loc) · 1.14 KB
/
.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
44
45
46
47
48
49
50
51
52
{
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true,
"modules": true
}
},
"plugins": [
"react"
],
"rules": {
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"max-len": "off",
"no-await-in-loop": "error",
"no-compare-neg-zero": "error",
"no-multi-assign": "error",
"nonblock-statement-body-position": "error",
"operator-linebreak": [
"error",
"before",
{
"overrides": {
"+=": "after",
"=": "after"
}
}
],
"prefer-destructuring": "error",
"prefer-promise-reject-errors": "error",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-sort-props": "error",
"react/prefer-stateless-function": "off",
"sort-keys": "error",
"sort-vars": "error",
"template-tag-spacing": "error"
}
}