11{
22 "parser" : " @typescript-eslint/parser" ,
33 "parserOptions" : {
4- "ecmaVersion" : 6 ,
4+ "ecmaVersion" : 2018 ,
5+ "sourceType" : " module" ,
56 "ecmaFeatures" : {
67 "experimentalObjectRestSpread" : true ,
78 "jsx" : true
8- },
9- "sourceType" : " module"
9+ }
1010 },
1111 "env" : {
1212 "es6" : true ,
2323 },
2424 "plugins" : [
2525 " standard" ,
26+ " node" ,
27+ " import" ,
2628 " promise" ,
27- " @typescript-eslint"
29+ " @typescript-eslint" ,
30+ " jest"
2831 ],
2932 "globals" : {
3033 "document" : false ,
3134 "navigator" : false ,
3235 "window" : false
3336 },
3437 "extends" : [
35- " plugin:@typescript-eslint/recommended"
36- ],
37- "rules" : {
38- "accessor-pairs" : 2 ,
39- "arrow-spacing" : [
40- 2 ,
41- {
42- "before" : true ,
43- "after" : true
44- }
45- ],
46- "block-spacing" : [
47- 2 ,
48- " always"
49- ],
50- "brace-style" : [
51- 2 ,
52- " 1tbs" ,
53- {
54- "allowSingleLine" : true
55- }
56- ],
57- "camelcase" : [
58- 2 ,
59- {
60- "properties" : " never"
61- }
62- ],
63- "comma-dangle" : [
64- 2 ,
65- " never"
66- ],
67- "comma-spacing" : [
68- 2 ,
69- {
70- "before" : false ,
71- "after" : true
72- }
73- ],
74- "comma-style" : [
75- 2 ,
76- " last"
77- ],
78- "constructor-super" : 2 ,
79- "curly" : [
80- 2 ,
81- " multi-line"
82- ],
83- "dot-location" : [
84- 2 ,
85- " property"
86- ],
87- "eol-last" : 2 ,
88- "eqeqeq" : [
89- 2 ,
90- " allow-null"
91- ],
92- "generator-star-spacing" : [
93- 2 ,
94- {
95- "before" : true ,
96- "after" : true
97- }
98- ],
99- "handle-callback-err" : [
100- 2 ,
101- " ^(err|error)$"
102- ],
103- "indent" : [
104- 2 ,
105- 2 ,
106- {
107- "SwitchCase" : 1
108- }
109- ],
110- "jsx-quotes" : [
111- 2 ,
112- " prefer-single"
113- ],
114- "key-spacing" : [
115- 2 ,
116- {
117- "beforeColon" : false ,
118- "afterColon" : true
119- }
120- ],
121- "keyword-spacing" : [
122- 2 ,
123- {
124- "before" : true ,
125- "after" : true
126- }
127- ],
128- "new-cap" : [
129- 2 ,
130- {
131- "newIsCap" : true ,
132- "capIsNew" : false
133- }
134- ],
135- "new-parens" : 2 ,
136- "no-array-constructor" : 2 ,
137- "no-caller" : 2 ,
138- "no-class-assign" : 2 ,
139- "no-cond-assign" : 2 ,
140- "no-const-assign" : 2 ,
141- "no-control-regex" : 2 ,
142- "no-debugger" : 2 ,
143- "no-delete-var" : 2 ,
144- "no-dupe-args" : 2 ,
145- "no-dupe-class-members" : 2 ,
146- "no-dupe-keys" : 2 ,
147- "no-duplicate-case" : 2 ,
148- "no-duplicate-imports" : 2 ,
149- "no-empty-character-class" : 2 ,
150- "no-empty-pattern" : 2 ,
151- "no-eval" : 2 ,
152- "no-ex-assign" : 2 ,
153- "no-extend-native" : 2 ,
154- "no-extra-bind" : 2 ,
155- "no-extra-boolean-cast" : 2 ,
156- "no-extra-parens" : [
157- 2 ,
158- " functions"
159- ],
160- "no-fallthrough" : 2 ,
161- "no-floating-decimal" : 2 ,
162- "no-func-assign" : 2 ,
163- "no-implied-eval" : 2 ,
164- "no-inner-declarations" : [
165- 2 ,
166- " functions"
167- ],
168- "no-invalid-regexp" : 2 ,
169- "no-irregular-whitespace" : 2 ,
170- "no-iterator" : 2 ,
171- "no-label-var" : 2 ,
172- "no-labels" : [
173- 2 ,
174- {
175- "allowLoop" : false ,
176- "allowSwitch" : false
177- }
178- ],
179- "no-lone-blocks" : 2 ,
180- "no-mixed-spaces-and-tabs" : 2 ,
181- "no-multi-spaces" : 2 ,
182- "no-multi-str" : 2 ,
183- "no-multiple-empty-lines" : [
184- 2 ,
185- {
186- "max" : 1
187- }
188- ],
189- "no-native-reassign" : 2 ,
190- "no-negated-in-lhs" : 2 ,
191- "no-new" : 2 ,
192- "no-new-func" : 2 ,
193- "no-new-object" : 2 ,
194- "no-new-require" : 2 ,
195- "no-new-symbol" : 2 ,
196- "no-new-wrappers" : 2 ,
197- "no-obj-calls" : 2 ,
198- "no-octal" : 2 ,
199- "no-octal-escape" : 2 ,
200- "no-path-concat" : 2 ,
201- "no-proto" : 2 ,
202- "no-redeclare" : 2 ,
203- "no-regex-spaces" : 2 ,
204- "no-return-assign" : [
205- 2 ,
206- " except-parens"
207- ],
208- "no-self-assign" : 2 ,
209- "no-self-compare" : 2 ,
210- "no-sequences" : 2 ,
211- "no-shadow-restricted-names" : 2 ,
212- "no-spaced-func" : 2 ,
213- "no-sparse-arrays" : 2 ,
214- "no-this-before-super" : 2 ,
215- "no-throw-literal" : 2 ,
216- "no-trailing-spaces" : 2 ,
217- "no-undef" : 2 ,
218- "no-undef-init" : 2 ,
219- "no-unexpected-multiline" : 2 ,
220- "no-unmodified-loop-condition" : 2 ,
221- "no-unneeded-ternary" : [
222- 2 ,
223- {
224- "defaultAssignment" : false
225- }
226- ],
227- "no-unreachable" : 2 ,
228- "no-unsafe-finally" : 2 ,
229- "no-unused-vars" : [
230- 2 ,
231- {
232- "vars" : " all" ,
233- "args" : " none"
234- }
235- ],
236- "no-useless-call" : 2 ,
237- "no-useless-computed-key" : 2 ,
238- "no-useless-constructor" : 2 ,
239- "no-useless-escape" : 2 ,
240- "no-whitespace-before-property" : 2 ,
241- "no-with" : 2 ,
242- "one-var" : [
243- 2 ,
244- {
245- "initialized" : " never"
246- }
247- ],
248- "operator-linebreak" : [
249- 2 ,
250- " after" ,
251- {
252- "overrides" : {
253- "?" : " before" ,
254- ":" : " before"
255- }
256- }
257- ],
258- "padded-blocks" : [
259- 2 ,
260- " never"
261- ],
262- "quotes" : [
263- 2 ,
264- " single" ,
265- " avoid-escape"
266- ],
267- "semi" : [
268- 2 ,
269- " always"
270- ],
271- "semi-spacing" : [
272- 2 ,
273- {
274- "before" : false ,
275- "after" : true
276- }
277- ],
278- "space-before-blocks" : [
279- 2 ,
280- " always"
281- ],
282- "space-before-function-paren" : [
283- 2 ,
284- " never"
285- ],
286- "space-in-parens" : [
287- 2 ,
288- " never"
289- ],
290- "space-infix-ops" : 2 ,
291- "space-unary-ops" : [
292- 2 ,
293- {
294- "words" : true ,
295- "nonwords" : false
296- }
297- ],
298- "spaced-comment" : [
299- 2 ,
300- " always" ,
301- {
302- "markers" : [
303- " global" ,
304- " globals" ,
305- " eslint" ,
306- " eslint-disable" ,
307- " *package" ,
308- " !" ,
309- " ,"
310- ]
311- }
312- ],
313- "template-curly-spacing" : [
314- 2 ,
315- " never"
316- ],
317- "use-isnan" : 2 ,
318- "valid-typeof" : 2 ,
319- "wrap-iife" : [
320- 2 ,
321- " any"
322- ],
323- "yield-star-spacing" : [
324- 2 ,
325- " both"
326- ],
327- "yoda" : [
328- 2 ,
329- " never"
330- ],
331- "standard/object-curly-even-spacing" : [
332- 2 ,
333- " either"
334- ],
335- "standard/array-bracket-even-spacing" : [
336- 2 ,
337- " either"
338- ],
339- "standard/computed-property-even-spacing" : [
340- 2 ,
341- " even"
342- ],
343- "promise/param-names" : 2 ,
344- "linebreak-style" : [
345- 2 ,
346- " unix"
347- ]
348- }
38+ " plugin:@typescript-eslint/recommended" ,
39+ " plugin:jest/recommended" ,
40+ " plugin:promise/recommended" ,
41+ " standard" ,
42+ " plugin:prettier/recommended"
43+ ]
34944}
0 commit comments