-
Notifications
You must be signed in to change notification settings - Fork 19
/
.eslintrc.json
70 lines (70 loc) · 1.35 KB
/
.eslintrc.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:inferno/recommended"],
"plugins": [
"inferno"
],
"settings": {
"inferno": {
"pragma": "Inferno"
}
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"globals": {
"FB": true,
"Exception": true,
"Inferno": true,
"Component": true,
"isEmpty": true,
"size": true
},
"rules": {
"semi": 0,
"vars-on-top": 0,
"spaced-comment": 0,
"prefer-template": 0,
"consistent-return": 0,
"comma-dangle": 0,
"no-use-before-define": 0,
"no-return-assign": 0,
"no-case-declarations": 0,
"no-cond-assign": 0,
"no-console": 0,
"max-len": 0,
"arrow-body-style": 0,
"new-cap": 0,
"quotes": 0,
"quote-props": 0,
"prefer-arrow-callback": 0,
"func-names": 0,
"padded-blocks": 0,
"keyword-spacing": 0,
"no-var": 1,
"no-trailing-spaces": 0,
"no-unused-expressions": 0,
"no-unused-vars": 1,
"no-inner-declarations": 0,
"space-before-function-paren": 0,
"global-require": 0,
"inferno/jsx-key": 0,
"inferno/no-unescaped-entities": 0,
"react/jsx-no-bind": 0,
"react/jsx-space-before-closing": 0,
"react/jsx-closing-bracket-location": 0,
"react/prop-types": 0,
"react/prefer-stateless-function": 0
}
}