forked from jeffbski/redux-logic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 914 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
{
/* Also check test/.eslintrc for test specific config */
"extends": "airbnb-base",
"rules": {
"arrow-body-style": [1, "as-needed"],
"arrow-parens": 0,
// don't require dangling commas
"comma-dangle": 0,
"consistent-return": 1,
// causing issues with codacy
"import/no-unresolved": 0,
"indent": 0,
"no-nested-ternary": 0,
"no-plusplus": 0,
"no-shadow": 0,
// don't require functions to be declared before use
"no-use-before-define": [2, { "functions": false, "classes": true }],
// Disable until Flow supports let and const
"no-var": 0,
"object-property-newline": 0,
"padded-blocks": 0,
"react/jsx-uses-react": 1,
"react/jsx-no-undef": 2,
"react/jsx-wrap-multilines": 2,
"valid-jsdoc": 2
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
]
}