1
+ module . exports = {
2
+ "env" : {
3
+ "browser" : true ,
4
+ "node" : true ,
5
+ "es6" : true ,
6
+ "mocha" : true
7
+ } ,
8
+ "extends" : "eslint:recommended" ,
9
+ "rules" : {
10
+ "accessor-pairs" : "error" ,
11
+ "array-bracket-spacing" : "error" ,
12
+ "array-callback-return" : "error" ,
13
+ "arrow-body-style" : "error" ,
14
+ "arrow-parens" : "error" ,
15
+ "arrow-spacing" : "error" ,
16
+ "block-scoped-var" : "error" ,
17
+ "block-spacing" : "error" ,
18
+ "brace-style" : "error" ,
19
+ "callback-return" : "error" ,
20
+ "camelcase" : "error" ,
21
+ "capitalized-comments" : "error" ,
22
+ "class-methods-use-this" : "error" ,
23
+ "comma-dangle" : "off" ,
24
+ "comma-spacing" : [
25
+ "error" ,
26
+ {
27
+ "after" : true ,
28
+ "before" : false
29
+ }
30
+ ] ,
31
+ "comma-style" : "error" ,
32
+ "complexity" : "error" ,
33
+ "computed-property-spacing" : [
34
+ "error" ,
35
+ "never"
36
+ ] ,
37
+ "consistent-return" : "error" ,
38
+ "consistent-this" : "error" ,
39
+ "curly" : "error" ,
40
+ "default-case" : "error" ,
41
+ "dot-location" : [
42
+ "error" ,
43
+ "property"
44
+ ] ,
45
+ "dot-notation" : "error" ,
46
+ "eol-last" : "error" ,
47
+ "eqeqeq" : "off" ,
48
+ "func-call-spacing" : "error" ,
49
+ "func-name-matching" : "error" ,
50
+ "func-names" : [
51
+ "error" ,
52
+ "never"
53
+ ] ,
54
+ "func-style" : [
55
+ "error" ,
56
+ "declaration"
57
+ ] ,
58
+ "generator-star-spacing" : "error" ,
59
+ "global-require" : "off" ,
60
+ "guard-for-in" : "error" ,
61
+ "handle-callback-err" : "error" ,
62
+ "id-blacklist" : "error" ,
63
+ "id-length" : [ "error" , { "exceptions" : [ "i" , "j" , "e" ] } ] ,
64
+ "id-match" : "error" ,
65
+ "indent" : "off" ,
66
+ "init-declarations" : "off" ,
67
+ "jsx-quotes" : "error" ,
68
+ "key-spacing" : "error" ,
69
+ "keyword-spacing" : "off" ,
70
+ "line-comment-position" : "error" ,
71
+ "linebreak-style" : [
72
+ "error" ,
73
+ "unix"
74
+ ] ,
75
+ "lines-around-comment" : "off" ,
76
+ "lines-around-directive" : "error" ,
77
+ "max-depth" : "error" ,
78
+ "max-len" : [ "error" , {
79
+ "ignoreUrls" : true ,
80
+ "ignoreStrings" : true ,
81
+ "ignoreTemplateLiterals" : true ,
82
+ "ignoreRegExpLiterals" : true
83
+ } ] ,
84
+ "max-nested-callbacks" : "error" ,
85
+ "max-params" : "error" ,
86
+ "max-statements" : "off" ,
87
+ "max-statements-per-line" : "error" ,
88
+ "multiline-ternary" : "off" ,
89
+ "new-cap" : [ "error" , { "capIsNewExceptionPattern" : "^SearchIndex" } ] ,
90
+ "new-parens" : "error" ,
91
+ "newline-after-var" : "off" ,
92
+ "newline-before-return" : "off" ,
93
+ "newline-per-chained-call" : "error" ,
94
+ "no-alert" : "error" ,
95
+ "no-array-constructor" : "error" ,
96
+ "no-await-in-loop" : "error" ,
97
+ "no-bitwise" : "error" ,
98
+ "no-caller" : "error" ,
99
+ "no-catch-shadow" : "error" ,
100
+ "no-confusing-arrow" : "error" ,
101
+ "no-continue" : "error" ,
102
+ "no-div-regex" : "error" ,
103
+ "no-duplicate-imports" : "error" ,
104
+ "no-else-return" : "error" ,
105
+ "no-empty-function" : "error" ,
106
+ "no-eq-null" : "error" ,
107
+ "no-eval" : "error" ,
108
+ "no-extend-native" : "error" ,
109
+ "no-extra-bind" : "error" ,
110
+ "no-extra-label" : "error" ,
111
+ "no-extra-parens" : "error" ,
112
+ "no-floating-decimal" : "error" ,
113
+ "no-implicit-coercion" : "error" ,
114
+ "no-implicit-globals" : "error" ,
115
+ "no-implied-eval" : "error" ,
116
+ "no-inline-comments" : "error" ,
117
+ "no-inner-declarations" : [
118
+ "error" ,
119
+ "functions"
120
+ ] ,
121
+ "no-invalid-this" : "error" ,
122
+ "no-iterator" : "error" ,
123
+ "no-label-var" : "error" ,
124
+ "no-labels" : "error" ,
125
+ "no-lone-blocks" : "error" ,
126
+ "no-lonely-if" : "error" ,
127
+ "no-loop-func" : "error" ,
128
+ "no-magic-numbers" : "off" ,
129
+ "no-mixed-operators" : "error" ,
130
+ "no-mixed-requires" : "error" ,
131
+ "no-multi-spaces" : "error" ,
132
+ "no-multi-str" : "error" ,
133
+ "no-multiple-empty-lines" : "error" ,
134
+ "no-native-reassign" : "error" ,
135
+ "no-negated-condition" : "error" ,
136
+ "no-negated-in-lhs" : "error" ,
137
+ "no-nested-ternary" : "error" ,
138
+ "no-new" : "error" ,
139
+ "no-new-func" : "error" ,
140
+ "no-new-object" : "error" ,
141
+ "no-new-require" : "error" ,
142
+ "no-new-wrappers" : "error" ,
143
+ "no-octal-escape" : "error" ,
144
+ "no-param-reassign" : "error" ,
145
+ "no-path-concat" : "error" ,
146
+ "no-plusplus" : "off" ,
147
+ "no-process-env" : "error" ,
148
+ "no-process-exit" : "off" ,
149
+ "no-proto" : "error" ,
150
+ "no-prototype-builtins" : "error" ,
151
+ "no-restricted-globals" : "error" ,
152
+ "no-restricted-imports" : "error" ,
153
+ "no-restricted-modules" : "error" ,
154
+ "no-restricted-properties" : "error" ,
155
+ "no-restricted-syntax" : "error" ,
156
+ "no-return-assign" : "error" ,
157
+ "no-return-await" : "error" ,
158
+ "no-script-url" : "error" ,
159
+ "no-self-compare" : "error" ,
160
+ "no-sequences" : "error" ,
161
+ "no-shadow" : "error" ,
162
+ "no-shadow-restricted-names" : "error" ,
163
+ "no-spaced-func" : "error" ,
164
+ "no-sync" : "error" ,
165
+ "no-tabs" : "off" ,
166
+ "no-template-curly-in-string" : "error" ,
167
+ "no-ternary" : "off" ,
168
+ "no-throw-literal" : "error" ,
169
+ "no-trailing-spaces" : "error" ,
170
+ "no-undef-init" : "error" ,
171
+ "no-undefined" : "error" ,
172
+ "no-underscore-dangle" : "error" ,
173
+ "no-unmodified-loop-condition" : "error" ,
174
+ "no-unneeded-ternary" : "error" ,
175
+ "no-unused-expressions" : "error" ,
176
+ "no-unused-vars" : [ "error" , {
177
+ "argsIgnorePattern" : "^_" ,
178
+ "varsIgnorePattern" : "^_" ,
179
+ } ] ,
180
+ "no-use-before-define" : [ "error" , { "functions" : false , "classes" : true } ] ,
181
+ "no-useless-call" : "error" ,
182
+ "no-useless-computed-key" : "error" ,
183
+ "no-useless-concat" : "error" ,
184
+ "no-useless-constructor" : "error" ,
185
+ "no-useless-escape" : "error" ,
186
+ "no-useless-rename" : "error" ,
187
+ "no-useless-return" : "error" ,
188
+ "no-var" : "off" ,
189
+ "no-void" : "error" ,
190
+ "no-warning-comments" : "error" ,
191
+ "no-whitespace-before-property" : "error" ,
192
+ "no-with" : "error" ,
193
+ "object-curly-newline" : "off" ,
194
+ "object-curly-spacing" : "error" ,
195
+ "object-property-newline" : "error" ,
196
+ "object-shorthand" : "off" ,
197
+ "one-var" : "off" ,
198
+ "one-var-declaration-per-line" : "error" ,
199
+ "operator-assignment" : "error" ,
200
+ "operator-linebreak" : "error" ,
201
+ "padded-blocks" : "off" ,
202
+ "prefer-arrow-callback" : "off" ,
203
+ "prefer-const" : "error" ,
204
+ "prefer-numeric-literals" : "error" ,
205
+ "prefer-reflect" : "off" ,
206
+ "prefer-rest-params" : "error" ,
207
+ "prefer-spread" : "error" ,
208
+ "prefer-template" : "error" ,
209
+ "quote-props" : "off" ,
210
+ "quotes" : [
211
+ "error" ,
212
+ "single"
213
+ ] ,
214
+ "radix" : "error" ,
215
+ "require-await" : "error" ,
216
+ "require-jsdoc" : "off" ,
217
+ "rest-spread-spacing" : "error" ,
218
+ "semi" : "off" ,
219
+ "semi-spacing" : "error" ,
220
+ "sort-imports" : "error" ,
221
+ "sort-keys" : "error" ,
222
+ "sort-vars" : "error" ,
223
+ "space-before-blocks" : "error" ,
224
+ "space-before-function-paren" : "off" ,
225
+ "space-in-parens" : [
226
+ "error" ,
227
+ "never"
228
+ ] ,
229
+ "space-infix-ops" : "error" ,
230
+ "space-unary-ops" : "error" ,
231
+ "spaced-comment" : "error" ,
232
+ "strict" : "error" ,
233
+ "symbol-description" : "error" ,
234
+ "template-curly-spacing" : "error" ,
235
+ "unicode-bom" : [
236
+ "error" ,
237
+ "never"
238
+ ] ,
239
+ "valid-jsdoc" : "off" ,
240
+ "vars-on-top" : "off" ,
241
+ "wrap-iife" : "error" ,
242
+ "wrap-regex" : "error" ,
243
+ "yield-star-spacing" : "error" ,
244
+ "yoda" : [
245
+ "error" ,
246
+ "never"
247
+ ]
248
+ }
249
+ } ;
0 commit comments