forked from SummitRoute/react-structured-filter
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
34 lines (32 loc) · 821 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
{
"extends": "airbnb",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
},
"parser": "babel-eslint",
"rules": {
"space-in-parens": [1, "always", {
"exceptions": ["[]", "{}", "()", "empty"]
}],
"array-bracket-spacing": [1, "always", {
"objectsInArrays": true,
"arraysInArrays": true
}],
"computed-property-spacing": [1, "always"],
"id-length": 0,
"babel/generator-star-spacing": [1, "after"],
"babel/object-curly-spacing": [1, "always"],
"babel/object-shorthand": [1, "always"],
"babel/arrow-parens": [1, "as-needed"],
"react/jsx-curly-spacing": [1, "always"],
"react/no-multi-comp": 0,
"react/prefer-es6-class": 1,
"react/jsx-no-bind": [2, {
"ignoreRefs": true
}]
},
"plugins": [
"babel",
"react"
]
}