forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 788 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
{
"extends": ["eslint-config-airbnb"],
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"jsx": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"babel"
],
"rules": {
"constructor-super": 2,
"comma-dangle": 0,
"eqeqeq": [2, "allow-null"],
"id-length": 0,
"no-eq-null": 0,
"one-var": [2, { "initialized": "never" }],
"prefer-const": 0,
"no-param-reassign": 0,
"no-this-before-super": 2,
"babel/object-shorthand": 2,
"react/jsx-boolean-value": 2,
"react/jsx-no-duplicate-props": 2,
"react/sort-comp": 0,
"react/prop-types": [2, { "ignore": [
"children",
"className",
"style",
"bsStyle",
"bsClass",
"bsSize"
]
}],
}
}