-
Notifications
You must be signed in to change notification settings - Fork 44
/
.eslintrc.json
64 lines (64 loc) · 1.34 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
{
// http://eslint.org/docs/rules/
"root": true,
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"plugins": [
"react"
],
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"globalReturn ": true,
"impliedStrict": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
"globals": {
"Exception": 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,
"react/jsx-indent": 0,
"react/jsx-no-bind": 0,
"react/jsx-wrap-multilines": 0,
"react/jsx-space-before-closing": 0,
"react/jsx-closing-bracket-location": 0,
"react/prop-types": 0,
"react/prefer-stateless-function": 0
}
}