-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 1.13 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"indent": [2, 4, {
"SwitchCase": 1
}],
"react/destructuring-assignment": 0, # turning this off because it fights against no-shadow with redux!
"max-len": [1, 160],
"quote-props": [1, "consistent-as-needed"],
"react/jsx-indent": [1, 4],
"comma-dangle": [2, "never"],
"object-curly-spacing": [2, "never"],
'react/jsx-indent-props': [2, 4],
"react/prop-types": [2, { "ignore": [], customValidators: [] }],
"no-underscore-dangle": [0],
# consider turning these on!!
"react/require-default-props": 0,
"prefer-const": 0,
"arrow-body-style": 0,
"react/jsx-filename-extension": 0,
"new-cap": [2, { "properties": false, "capIsNewExceptions": ["DragSource", "DropTarget", "DragDropContext", "DragLayer"]}],
"jsx-a11y/no-static-element-interactions": 0,
"no-nested-ternary": 0,
"react/no-array-index-key": 0,
"semi": [2, "never"],
},
"globals": {
document: true,
window: true
}
}