-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
93 lines (93 loc) · 2.24 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"parser": "babel-eslint",
"ecmaFeatures": {
"classes": true,
"modules": true,
"jsx": true
},
"plugins": [
"react"
],
"env": {
"node": true,
"es6": true
},
"globals": {
"document": false,
"window": false,
"DEBUG": false
},
"rules": {
"arrow-spacing": 1,
"block-spacing": 1,
"brace-style": 1,
"camelcase": 0,
"curly": 1,
"comma-dangle": 2,
"comma-spacing": 1,
"dot-notation": 1,
"dot-location": [1, "property"],
"eol-last": 0,
"eqeqeq": 1,
"jsx-quotes": 2,
"key-spacing": 0,
"max-len": [ 1, 400, 4, { "ignoreComments": true, "ignoreUrls": true } ],
"newline-after-var": 1,
"no-cond-assign": 1,
"no-constant-condition": 1,
"no-const-assign": 1,
"no-debugger": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-empty": 1,
"no-extra-bind": 1,
"no-extra-semi": 1,
"no-loop-func": 0,
"no-mixed-requires": 1,
"no-multiple-empty-lines": [ 1, { "max": 1 } ],
"no-redeclare": 1,
"no-sequences": 0,
"no-trailing-spaces": 0,
"no-undef": 2,
"no-undef-init": 1,
"no-undefined": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"no-unreachable": 1,
"no-useless-call": 1,
"no-use-before-define": 1,
"no-var": 1,
"no-with": 2,
"object-shorthand": 0,
"operator-linebreak": 0,
"prefer-arrow-callback": 1,
"prefer-const": 1,
"prefer-spread": 1,
"quotes": 0,
"react/display-name": 0,
"react/no-direct-mutation-state": 1,
"react/jsx-boolean-value": 0,
"react/jsx-closing-bracket-location": [ 1, "after-props" ],
"react/jsx-indent-props": [ 1, 4 ],
"react/jsx-no-undef": 2,
"react/jsx-sort-prop-types": 0,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-multi-comp": 0,
"react/no-unknown-property": 2,
"react/prop-types": 0,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 0,
"react/sort-comp": 0,
"react/jsx-wrap-multilines": 2,
"semi": 2,
"keyword-spacing": 1,
"space-before-blocks": 1,
"space-infix-ops": 1,
"strict": 2
}
}