forked from atSistemas/react-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 1.04 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
44
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"extends": ["eslint-config-airbnb", "eslint:recommended", "plugin:react/recommended"],
"globals": {
"__DEV__": true,
"describe" : false,
"it" : false,
},
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"react/jsx-pascal-case": 2,
"react/prefer-stateless-function": 0,
"react/prefer-es6-class": 2,
"react/no-multi-comp": 2,
"react/jsx-boolean-value": [2, "always"],
"react/require-render-return": 2,
"react/no-is-mounted": 2,
"react/wrap-multilines": 1,
"react/jsx-no-bind": 2,
"jsx-quotes": [2, "prefer-double"],
"react/jsx-curly-spacing": [2, "always"],
"import/default": 0,
"import/no-duplicates": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-unresolved": 0,
"import/no-named-as-default": 0,
"comma-dangle": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"no-console": 0,
"no-alert": 0,
"semi": 1,
"no-var":2
}
}