1
+ {
2
+ "ecmaFeatures": {
3
+ "globalReturn": true,
4
+ "jsx": true,
5
+ "modules": true
6
+ },
7
+
8
+ "env": {
9
+ "browser": true,
10
+ "es6": true,
11
+ "node": true
12
+ },
13
+
14
+ "globals": {
15
+ "document": false,
16
+ "escape": false,
17
+ "navigator": false,
18
+ "unescape": false,
19
+ "window": true
20
+ },
21
+
22
+ "plugins": [
23
+ "react"
24
+ ],
25
+
26
+ "rules": {
27
+ "block-scoped-var": 0,
28
+ "brace-style": [2, "1tbs", { "allowSingleLine": true }],
29
+ "camelcase": 0,
30
+ "comma-dangle": [2, "always-multiline"],
31
+ "comma-spacing": [2, { "before": false, "after": true }],
32
+ "comma-style": [2, "last"],
33
+ "complexity": 0,
34
+ "consistent-return": 0,
35
+ "consistent-this": 0,
36
+ "curly": [2, "multi-line"],
37
+ "default-case": 0,
38
+ "dot-notation": 0,
39
+ "eol-last": 2,
40
+ "eqeqeq": [2, "allow-null"],
41
+ "func-names": 0,
42
+ "func-style": [0, "declaration"],
43
+ "generator-star": [2, "middle"],
44
+ "guard-for-in": 0,
45
+ "handle-callback-err": [2, "^(err|error|anySpecificError)$" ],
46
+ "indent": [2, 2],
47
+ "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
48
+ "max-depth": 0,
49
+ "max-len": 0,
50
+ "max-nested-callbacks": 0,
51
+ "max-params": 0,
52
+ "max-statements": 0,
53
+ "new-cap": [2, { "newIsCap": true, "capIsNew": false }],
54
+ "new-parens": 2,
55
+ "no-alert": 2,
56
+ "no-array-constructor": 2,
57
+ "no-bitwise": 0,
58
+ "no-caller": 2,
59
+ "no-catch-shadow": 0,
60
+ "no-cond-assign": 2,
61
+ "no-console": 0,
62
+ "no-constant-condition": 0,
63
+ "no-control-regex": 2,
64
+ "no-debugger": 2,
65
+ "no-delete-var": 2,
66
+ "no-div-regex": 0,
67
+ "no-dupe-args": 2,
68
+ "no-dupe-keys": 2,
69
+ "no-duplicate-case": 2,
70
+ "no-else-return": 0,
71
+ "no-empty": 0,
72
+ "no-empty-class": 2,
73
+ "no-empty-label": 2,
74
+ "no-eq-null": 0,
75
+ "no-eval": 2,
76
+ "no-ex-assign": 2,
77
+ "no-extend-native": 2,
78
+ "no-extra-bind": 2,
79
+ "no-extra-boolean-cast": 2,
80
+ "no-extra-parens": 0,
81
+ "no-extra-semi": 0,
82
+ "no-extra-strict": 0,
83
+ "no-fallthrough": 2,
84
+ "no-floating-decimal": 2,
85
+ "no-func-assign": 2,
86
+ "no-implied-eval": 2,
87
+ "no-inline-comments": 0,
88
+ "no-inner-declarations": [2, "functions"],
89
+ "no-invalid-regexp": 2,
90
+ "no-irregular-whitespace": 2,
91
+ "no-iterator": 2,
92
+ "no-label-var": 2,
93
+ "no-labels": 2,
94
+ "no-lone-blocks": 2,
95
+ "no-lonely-if": 0,
96
+ "no-loop-func": 0,
97
+ "no-mixed-requires": [0, false],
98
+ "no-mixed-spaces-and-tabs": [2, false],
99
+ "no-multi-spaces": 2,
100
+ "no-multi-str": 2,
101
+ "no-multiple-empty-lines": [2, { "max": 1 }],
102
+ "no-native-reassign": 2,
103
+ "no-negated-in-lhs": 2,
104
+ "no-nested-ternary": 0,
105
+ "no-new": 2,
106
+ "no-new-func": 2,
107
+ "no-new-object": 2,
108
+ "no-new-require": 2,
109
+ "no-new-wrappers": 2,
110
+ "no-obj-calls": 2,
111
+ "no-octal": 2,
112
+ "no-octal-escape": 2,
113
+ "no-path-concat": 0,
114
+ "no-plusplus": 0,
115
+ "no-process-env": 0,
116
+ "no-process-exit": 0,
117
+ "no-proto": 2,
118
+ "no-redeclare": 2,
119
+ "no-regex-spaces": 2,
120
+ "no-reserved-keys": 0,
121
+ "no-restricted-modules": 0,
122
+ "no-return-assign": 2,
123
+ "no-script-url": 0,
124
+ "no-self-compare": 2,
125
+ "no-sequences": 2,
126
+ "no-shadow": 0,
127
+ "no-shadow-restricted-names": 2,
128
+ "no-spaced-func": 2,
129
+ "no-sparse-arrays": 2,
130
+ "no-sync": 0,
131
+ "no-ternary": 0,
132
+ "no-throw-literal": 2,
133
+ "no-trailing-spaces": 2,
134
+ "no-undef": 2,
135
+ "no-undef-init": 2,
136
+ "no-undefined": 0,
137
+ "no-underscore-dangle": 0,
138
+ "no-unreachable": 2,
139
+ "no-unused-expressions": 0,
140
+ "no-unused-vars": [2, { "vars": "all", "args": "none" }],
141
+ "no-use-before-define": 0,
142
+ "no-var": 0,
143
+ "no-void": 0,
144
+ "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
145
+ "no-with": 2,
146
+ "no-wrap-func": 2,
147
+ "one-var": 0,
148
+ "operator-assignment": [0, "always"],
149
+ "padded-blocks": [2, "never"],
150
+ "quote-props": 0,
151
+ "quotes": [2, "single", "avoid-escape"],
152
+ "radix": 2,
153
+ "react/jsx-boolean-value": 2,
154
+ "react/jsx-quotes": [2, "double", "avoid-escape"],
155
+ "react/jsx-no-undef": 2,
156
+ "react/jsx-sort-props": 0,
157
+ "react/jsx-uses-react": 2,
158
+ "react/jsx-uses-vars": 2,
159
+ "react/no-did-mount-set-state": 2,
160
+ "react/no-did-update-set-state": 2,
161
+ "react/no-multi-comp": 2,
162
+ "react/no-unknown-property": 2,
163
+ "react/prop-types": 2,
164
+ "react/react-in-jsx-scope": 2,
165
+ "react/self-closing-comp": 2,
166
+ "react/wrap-multilines": 2,
167
+ "semi": [2, "never"],
168
+ "semi-spacing": 0,
169
+ "sort-vars": 0,
170
+ "space-after-keywords": [2, "always"],
171
+ "space-before-blocks": [2, "always"],
172
+ "space-before-function-paren": [2, "never"],
173
+ "space-in-brackets": 0,
174
+ "space-in-parens": [2, "never"],
175
+ "space-infix-ops": 2,
176
+ "space-return-throw-case": 2,
177
+ "space-unary-ops": [2, { "words": true, "nonwords": false }],
178
+ "spaced-line-comment": [2, "always"],
179
+ "strict": 0,
180
+ "use-isnan": 2,
181
+ "valid-jsdoc": 0,
182
+ "valid-typeof": 2,
183
+ "vars-on-top": 0,
184
+ "wrap-iife": [2, "any"],
185
+ "wrap-regex": 0,
186
+ "yoda": [2, "never"]
187
+ }
188
+ }
0 commit comments