forked from jeffbski/redux-logic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 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
33
34
35
36
37
38
39
40
41
42
43
{
/* 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,
"implicit-arrow-linebreak": 0,
"no-multi-spaces": 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,
"no-undef": 0,
"no-unused-vars": 0,
"object-curly-newline": 0,
"object-curly-spacing": 0,
"object-property-newline": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"prefer-destructuring": 0,
"prefer-promise-reject-errors": 0,
"react/jsx-uses-react": 1,
"react/jsx-no-undef": 2,
"react/jsx-wrap-multilines": 2,
"switch-colon-spacing": 0,
"valid-jsdoc": 2
},
"parserOptions": {
"ecmaVersion": 9
},
"plugins": [
"react"
]
}