@blueking/eslint-config-bk 3.0.0-beta.2 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,930 @@
1
+ {
2
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
3
+ "plugins": [
4
+ "import"
5
+ ],
6
+ "categories": {
7
+ "correctness": "off"
8
+ },
9
+ "env": {
10
+ "builtin": true,
11
+ "es2025": true,
12
+ "commonjs": true
13
+ },
14
+ "ignorePatterns": [
15
+ "**/node_modules/**"
16
+ ],
17
+ "rules": {
18
+ "for-direction": "error",
19
+ "no-async-promise-executor": "error",
20
+ "no-case-declarations": "error",
21
+ "no-class-assign": "error",
22
+ "no-compare-neg-zero": "error",
23
+ "no-cond-assign": "error",
24
+ "no-const-assign": "error",
25
+ "no-constant-binary-expression": "error",
26
+ "no-constant-condition": "error",
27
+ "no-control-regex": "error",
28
+ "no-debugger": "error",
29
+ "no-delete-var": "error",
30
+ "no-dupe-class-members": "error",
31
+ "no-dupe-else-if": "error",
32
+ "no-dupe-keys": "error",
33
+ "no-duplicate-case": "error",
34
+ "no-empty": "error",
35
+ "no-empty-character-class": "error",
36
+ "no-empty-pattern": "error",
37
+ "no-empty-static-block": "error",
38
+ "no-ex-assign": "error",
39
+ "no-extra-boolean-cast": "error",
40
+ "no-fallthrough": "error",
41
+ "no-func-assign": "error",
42
+ "no-global-assign": "error",
43
+ "no-import-assign": "error",
44
+ "no-invalid-regexp": "error",
45
+ "no-irregular-whitespace": "error",
46
+ "no-loss-of-precision": "error",
47
+ "no-new-native-nonconstructor": "error",
48
+ "no-nonoctal-decimal-escape": "error",
49
+ "no-obj-calls": "error",
50
+ "no-prototype-builtins": "error",
51
+ "no-redeclare": "error",
52
+ "no-regex-spaces": "error",
53
+ "no-self-assign": "error",
54
+ "no-setter-return": "error",
55
+ "no-shadow-restricted-names": "error",
56
+ "no-sparse-arrays": "error",
57
+ "no-this-before-super": "error",
58
+ "no-unexpected-multiline": "error",
59
+ "no-unsafe-finally": "error",
60
+ "no-unsafe-negation": "error",
61
+ "no-unsafe-optional-chaining": "error",
62
+ "no-unused-labels": "error",
63
+ "no-unused-private-class-members": "error",
64
+ "no-unused-vars": [
65
+ "error",
66
+ {
67
+ "argsIgnorePattern": "^_.*",
68
+ "varsIgnorePattern": "^_.*"
69
+ }
70
+ ],
71
+ "no-useless-backreference": "error",
72
+ "no-useless-catch": "error",
73
+ "no-useless-escape": "error",
74
+ "no-with": "error",
75
+ "require-yield": "error",
76
+ "use-isnan": "error",
77
+ "valid-typeof": "error",
78
+ "array-callback-return": "warn",
79
+ "eqeqeq": [
80
+ "warn",
81
+ "always"
82
+ ],
83
+ "func-style": [
84
+ "off",
85
+ "expression"
86
+ ],
87
+ "new-cap": [
88
+ "error",
89
+ {
90
+ "newIsCap": true,
91
+ "newIsCapExceptions": [],
92
+ "capIsNew": false,
93
+ "capIsNewExceptions": [
94
+ "Immutable.Map",
95
+ "Immutable.Set",
96
+ "Immutable.List"
97
+ ],
98
+ "properties": false
99
+ }
100
+ ],
101
+ "no-array-constructor": [
102
+ "error"
103
+ ],
104
+ "no-else-return": [
105
+ "warn",
106
+ {
107
+ "allowElseIf": false
108
+ }
109
+ ],
110
+ "no-eval": "error",
111
+ "no-iterator": "warn",
112
+ "no-multi-assign": "error",
113
+ "no-nested-ternary": "warn",
114
+ "no-new-func": "error",
115
+ "no-new-wrappers": "warn",
116
+ "no-plusplus": [
117
+ "error",
118
+ {
119
+ "allowForLoopAfterthoughts": true
120
+ }
121
+ ],
122
+ "no-unneeded-ternary": "warn",
123
+ "no-useless-constructor": "warn",
124
+ "no-var": "error",
125
+ "prefer-rest-params": "warn",
126
+ "prefer-spread": "warn",
127
+ "radix": "warn",
128
+ "import/namespace": "error",
129
+ "import/default": "error",
130
+ "import/no-named-as-default": "warn",
131
+ "import/no-named-as-default-member": "warn",
132
+ "import/no-duplicates": "error",
133
+ "import/first": "error"
134
+ },
135
+ "globals": {
136
+ "document": "readonly",
137
+ "window": "readonly",
138
+ "__dirname": "readonly",
139
+ "__filename": "readonly",
140
+ "Buffer": "readonly",
141
+ "clearImmediate": "readonly",
142
+ "clearInterval": "readonly",
143
+ "clearTimeout": "readonly",
144
+ "console": "readonly",
145
+ "process": "readonly",
146
+ "queueMicrotask": "readonly",
147
+ "setImmediate": "readonly",
148
+ "setInterval": "readonly",
149
+ "setTimeout": "readonly",
150
+ "TextDecoder": "readonly",
151
+ "TextEncoder": "readonly",
152
+ "URL": "readonly",
153
+ "URLSearchParams": "readonly",
154
+ "AbortController": "readonly",
155
+ "AbortSignal": "readonly",
156
+ "addEventListener": "readonly",
157
+ "alert": "readonly",
158
+ "AnalyserNode": "readonly",
159
+ "Animation": "readonly",
160
+ "AnimationEffectReadOnly": "readonly",
161
+ "AnimationEffectTiming": "readonly",
162
+ "AnimationEffectTimingReadOnly": "readonly",
163
+ "AnimationEvent": "readonly",
164
+ "AnimationPlaybackEvent": "readonly",
165
+ "AnimationTimeline": "readonly",
166
+ "applicationCache": "readonly",
167
+ "ApplicationCache": "readonly",
168
+ "ApplicationCacheErrorEvent": "readonly",
169
+ "atob": "readonly",
170
+ "Attr": "readonly",
171
+ "Audio": "readonly",
172
+ "AudioBuffer": "readonly",
173
+ "AudioBufferSourceNode": "readonly",
174
+ "AudioContext": "readonly",
175
+ "AudioDestinationNode": "readonly",
176
+ "AudioListener": "readonly",
177
+ "AudioNode": "readonly",
178
+ "AudioParam": "readonly",
179
+ "AudioProcessingEvent": "readonly",
180
+ "AudioScheduledSourceNode": "readonly",
181
+ "AudioWorkletGlobalScope": "readonly",
182
+ "AudioWorkletNode": "readonly",
183
+ "AudioWorkletProcessor": "readonly",
184
+ "BarProp": "readonly",
185
+ "BaseAudioContext": "readonly",
186
+ "BatteryManager": "readonly",
187
+ "BeforeUnloadEvent": "readonly",
188
+ "BiquadFilterNode": "readonly",
189
+ "Blob": "readonly",
190
+ "BlobEvent": "readonly",
191
+ "blur": "readonly",
192
+ "BroadcastChannel": "readonly",
193
+ "btoa": "readonly",
194
+ "BudgetService": "readonly",
195
+ "ByteLengthQueuingStrategy": "readonly",
196
+ "Cache": "readonly",
197
+ "caches": "readonly",
198
+ "CacheStorage": "readonly",
199
+ "cancelAnimationFrame": "readonly",
200
+ "cancelIdleCallback": "readonly",
201
+ "CanvasCaptureMediaStreamTrack": "readonly",
202
+ "CanvasGradient": "readonly",
203
+ "CanvasPattern": "readonly",
204
+ "CanvasRenderingContext2D": "readonly",
205
+ "ChannelMergerNode": "readonly",
206
+ "ChannelSplitterNode": "readonly",
207
+ "CharacterData": "readonly",
208
+ "clientInformation": "readonly",
209
+ "ClipboardEvent": "readonly",
210
+ "close": "readonly",
211
+ "closed": "readonly",
212
+ "CloseEvent": "readonly",
213
+ "Comment": "readonly",
214
+ "CompositionEvent": "readonly",
215
+ "confirm": "readonly",
216
+ "ConstantSourceNode": "readonly",
217
+ "ConvolverNode": "readonly",
218
+ "CountQueuingStrategy": "readonly",
219
+ "createImageBitmap": "readonly",
220
+ "Credential": "readonly",
221
+ "CredentialsContainer": "readonly",
222
+ "crypto": "readonly",
223
+ "Crypto": "readonly",
224
+ "CryptoKey": "readonly",
225
+ "CSS": "readonly",
226
+ "CSSConditionRule": "readonly",
227
+ "CSSFontFaceRule": "readonly",
228
+ "CSSGroupingRule": "readonly",
229
+ "CSSImportRule": "readonly",
230
+ "CSSKeyframeRule": "readonly",
231
+ "CSSKeyframesRule": "readonly",
232
+ "CSSMediaRule": "readonly",
233
+ "CSSNamespaceRule": "readonly",
234
+ "CSSPageRule": "readonly",
235
+ "CSSRule": "readonly",
236
+ "CSSRuleList": "readonly",
237
+ "CSSStyleDeclaration": "readonly",
238
+ "CSSStyleRule": "readonly",
239
+ "CSSStyleSheet": "readonly",
240
+ "CSSSupportsRule": "readonly",
241
+ "CustomElementRegistry": "readonly",
242
+ "customElements": "readonly",
243
+ "CustomEvent": "readonly",
244
+ "DataTransfer": "readonly",
245
+ "DataTransferItem": "readonly",
246
+ "DataTransferItemList": "readonly",
247
+ "defaultstatus": "readonly",
248
+ "defaultStatus": "readonly",
249
+ "DelayNode": "readonly",
250
+ "DeviceMotionEvent": "readonly",
251
+ "DeviceOrientationEvent": "readonly",
252
+ "devicePixelRatio": "readonly",
253
+ "dispatchEvent": "readonly",
254
+ "Document": "readonly",
255
+ "DocumentFragment": "readonly",
256
+ "DocumentType": "readonly",
257
+ "DOMError": "readonly",
258
+ "DOMException": "readonly",
259
+ "DOMImplementation": "readonly",
260
+ "DOMMatrix": "readonly",
261
+ "DOMMatrixReadOnly": "readonly",
262
+ "DOMParser": "readonly",
263
+ "DOMPoint": "readonly",
264
+ "DOMPointReadOnly": "readonly",
265
+ "DOMQuad": "readonly",
266
+ "DOMRect": "readonly",
267
+ "DOMRectReadOnly": "readonly",
268
+ "DOMStringList": "readonly",
269
+ "DOMStringMap": "readonly",
270
+ "DOMTokenList": "readonly",
271
+ "DragEvent": "readonly",
272
+ "DynamicsCompressorNode": "readonly",
273
+ "Element": "readonly",
274
+ "ErrorEvent": "readonly",
275
+ "event": "readonly",
276
+ "Event": "readonly",
277
+ "EventSource": "readonly",
278
+ "EventTarget": "readonly",
279
+ "external": "readonly",
280
+ "fetch": "readonly",
281
+ "File": "readonly",
282
+ "FileList": "readonly",
283
+ "FileReader": "readonly",
284
+ "find": "readonly",
285
+ "focus": "readonly",
286
+ "FocusEvent": "readonly",
287
+ "FontFace": "readonly",
288
+ "FontFaceSetLoadEvent": "readonly",
289
+ "FormData": "readonly",
290
+ "frameElement": "readonly",
291
+ "frames": "readonly",
292
+ "GainNode": "readonly",
293
+ "Gamepad": "readonly",
294
+ "GamepadButton": "readonly",
295
+ "GamepadEvent": "readonly",
296
+ "getComputedStyle": "readonly",
297
+ "getSelection": "readonly",
298
+ "HashChangeEvent": "readonly",
299
+ "Headers": "readonly",
300
+ "history": "readonly",
301
+ "History": "readonly",
302
+ "HTMLAllCollection": "readonly",
303
+ "HTMLAnchorElement": "readonly",
304
+ "HTMLAreaElement": "readonly",
305
+ "HTMLAudioElement": "readonly",
306
+ "HTMLBaseElement": "readonly",
307
+ "HTMLBodyElement": "readonly",
308
+ "HTMLBRElement": "readonly",
309
+ "HTMLButtonElement": "readonly",
310
+ "HTMLCanvasElement": "readonly",
311
+ "HTMLCollection": "readonly",
312
+ "HTMLContentElement": "readonly",
313
+ "HTMLDataElement": "readonly",
314
+ "HTMLDataListElement": "readonly",
315
+ "HTMLDetailsElement": "readonly",
316
+ "HTMLDialogElement": "readonly",
317
+ "HTMLDirectoryElement": "readonly",
318
+ "HTMLDivElement": "readonly",
319
+ "HTMLDListElement": "readonly",
320
+ "HTMLDocument": "readonly",
321
+ "HTMLElement": "readonly",
322
+ "HTMLEmbedElement": "readonly",
323
+ "HTMLFieldSetElement": "readonly",
324
+ "HTMLFontElement": "readonly",
325
+ "HTMLFormControlsCollection": "readonly",
326
+ "HTMLFormElement": "readonly",
327
+ "HTMLFrameElement": "readonly",
328
+ "HTMLFrameSetElement": "readonly",
329
+ "HTMLHeadElement": "readonly",
330
+ "HTMLHeadingElement": "readonly",
331
+ "HTMLHRElement": "readonly",
332
+ "HTMLHtmlElement": "readonly",
333
+ "HTMLIFrameElement": "readonly",
334
+ "HTMLImageElement": "readonly",
335
+ "HTMLInputElement": "readonly",
336
+ "HTMLLabelElement": "readonly",
337
+ "HTMLLegendElement": "readonly",
338
+ "HTMLLIElement": "readonly",
339
+ "HTMLLinkElement": "readonly",
340
+ "HTMLMapElement": "readonly",
341
+ "HTMLMarqueeElement": "readonly",
342
+ "HTMLMediaElement": "readonly",
343
+ "HTMLMenuElement": "readonly",
344
+ "HTMLMetaElement": "readonly",
345
+ "HTMLMeterElement": "readonly",
346
+ "HTMLModElement": "readonly",
347
+ "HTMLObjectElement": "readonly",
348
+ "HTMLOListElement": "readonly",
349
+ "HTMLOptGroupElement": "readonly",
350
+ "HTMLOptionElement": "readonly",
351
+ "HTMLOptionsCollection": "readonly",
352
+ "HTMLOutputElement": "readonly",
353
+ "HTMLParagraphElement": "readonly",
354
+ "HTMLParamElement": "readonly",
355
+ "HTMLPictureElement": "readonly",
356
+ "HTMLPreElement": "readonly",
357
+ "HTMLProgressElement": "readonly",
358
+ "HTMLQuoteElement": "readonly",
359
+ "HTMLScriptElement": "readonly",
360
+ "HTMLSelectElement": "readonly",
361
+ "HTMLShadowElement": "readonly",
362
+ "HTMLSlotElement": "readonly",
363
+ "HTMLSourceElement": "readonly",
364
+ "HTMLSpanElement": "readonly",
365
+ "HTMLStyleElement": "readonly",
366
+ "HTMLTableCaptionElement": "readonly",
367
+ "HTMLTableCellElement": "readonly",
368
+ "HTMLTableColElement": "readonly",
369
+ "HTMLTableElement": "readonly",
370
+ "HTMLTableRowElement": "readonly",
371
+ "HTMLTableSectionElement": "readonly",
372
+ "HTMLTemplateElement": "readonly",
373
+ "HTMLTextAreaElement": "readonly",
374
+ "HTMLTimeElement": "readonly",
375
+ "HTMLTitleElement": "readonly",
376
+ "HTMLTrackElement": "readonly",
377
+ "HTMLUListElement": "readonly",
378
+ "HTMLUnknownElement": "readonly",
379
+ "HTMLVideoElement": "readonly",
380
+ "IDBCursor": "readonly",
381
+ "IDBCursorWithValue": "readonly",
382
+ "IDBDatabase": "readonly",
383
+ "IDBFactory": "readonly",
384
+ "IDBIndex": "readonly",
385
+ "IDBKeyRange": "readonly",
386
+ "IDBObjectStore": "readonly",
387
+ "IDBOpenDBRequest": "readonly",
388
+ "IDBRequest": "readonly",
389
+ "IDBTransaction": "readonly",
390
+ "IDBVersionChangeEvent": "readonly",
391
+ "IdleDeadline": "readonly",
392
+ "IIRFilterNode": "readonly",
393
+ "Image": "readonly",
394
+ "ImageBitmap": "readonly",
395
+ "ImageBitmapRenderingContext": "readonly",
396
+ "ImageCapture": "readonly",
397
+ "ImageData": "readonly",
398
+ "indexedDB": "readonly",
399
+ "innerHeight": "readonly",
400
+ "innerWidth": "readonly",
401
+ "InputEvent": "readonly",
402
+ "IntersectionObserver": "readonly",
403
+ "IntersectionObserverEntry": "readonly",
404
+ "isSecureContext": "readonly",
405
+ "KeyboardEvent": "readonly",
406
+ "KeyframeEffect": "readonly",
407
+ "KeyframeEffectReadOnly": "readonly",
408
+ "length": "readonly",
409
+ "localStorage": "readonly",
410
+ "location": "writeable",
411
+ "Location": "readonly",
412
+ "locationbar": "readonly",
413
+ "matchMedia": "readonly",
414
+ "MediaDeviceInfo": "readonly",
415
+ "MediaDevices": "readonly",
416
+ "MediaElementAudioSourceNode": "readonly",
417
+ "MediaEncryptedEvent": "readonly",
418
+ "MediaError": "readonly",
419
+ "MediaKeyMessageEvent": "readonly",
420
+ "MediaKeySession": "readonly",
421
+ "MediaKeyStatusMap": "readonly",
422
+ "MediaKeySystemAccess": "readonly",
423
+ "MediaList": "readonly",
424
+ "MediaQueryList": "readonly",
425
+ "MediaQueryListEvent": "readonly",
426
+ "MediaRecorder": "readonly",
427
+ "MediaSettingsRange": "readonly",
428
+ "MediaSource": "readonly",
429
+ "MediaStream": "readonly",
430
+ "MediaStreamAudioDestinationNode": "readonly",
431
+ "MediaStreamAudioSourceNode": "readonly",
432
+ "MediaStreamEvent": "readonly",
433
+ "MediaStreamTrack": "readonly",
434
+ "MediaStreamTrackEvent": "readonly",
435
+ "menubar": "readonly",
436
+ "MessageChannel": "readonly",
437
+ "MessageEvent": "readonly",
438
+ "MessagePort": "readonly",
439
+ "MIDIAccess": "readonly",
440
+ "MIDIConnectionEvent": "readonly",
441
+ "MIDIInput": "readonly",
442
+ "MIDIInputMap": "readonly",
443
+ "MIDIMessageEvent": "readonly",
444
+ "MIDIOutput": "readonly",
445
+ "MIDIOutputMap": "readonly",
446
+ "MIDIPort": "readonly",
447
+ "MimeType": "readonly",
448
+ "MimeTypeArray": "readonly",
449
+ "MouseEvent": "readonly",
450
+ "moveBy": "readonly",
451
+ "moveTo": "readonly",
452
+ "MutationEvent": "readonly",
453
+ "MutationObserver": "readonly",
454
+ "MutationRecord": "readonly",
455
+ "name": "readonly",
456
+ "NamedNodeMap": "readonly",
457
+ "NavigationPreloadManager": "readonly",
458
+ "navigator": "readonly",
459
+ "Navigator": "readonly",
460
+ "NetworkInformation": "readonly",
461
+ "Node": "readonly",
462
+ "NodeFilter": "readonly",
463
+ "NodeIterator": "readonly",
464
+ "NodeList": "readonly",
465
+ "Notification": "readonly",
466
+ "OfflineAudioCompletionEvent": "readonly",
467
+ "OfflineAudioContext": "readonly",
468
+ "offscreenBuffering": "readonly",
469
+ "OffscreenCanvas": "writeable",
470
+ "onabort": "writeable",
471
+ "onafterprint": "writeable",
472
+ "onanimationend": "writeable",
473
+ "onanimationiteration": "writeable",
474
+ "onanimationstart": "writeable",
475
+ "onappinstalled": "writeable",
476
+ "onauxclick": "writeable",
477
+ "onbeforeinstallprompt": "writeable",
478
+ "onbeforeprint": "writeable",
479
+ "onbeforeunload": "writeable",
480
+ "onblur": "writeable",
481
+ "oncancel": "writeable",
482
+ "oncanplay": "writeable",
483
+ "oncanplaythrough": "writeable",
484
+ "onchange": "writeable",
485
+ "onclick": "writeable",
486
+ "onclose": "writeable",
487
+ "oncontextmenu": "writeable",
488
+ "oncuechange": "writeable",
489
+ "ondblclick": "writeable",
490
+ "ondevicemotion": "writeable",
491
+ "ondeviceorientation": "writeable",
492
+ "ondeviceorientationabsolute": "writeable",
493
+ "ondrag": "writeable",
494
+ "ondragend": "writeable",
495
+ "ondragenter": "writeable",
496
+ "ondragleave": "writeable",
497
+ "ondragover": "writeable",
498
+ "ondragstart": "writeable",
499
+ "ondrop": "writeable",
500
+ "ondurationchange": "writeable",
501
+ "onemptied": "writeable",
502
+ "onended": "writeable",
503
+ "onerror": "writeable",
504
+ "onfocus": "writeable",
505
+ "ongotpointercapture": "writeable",
506
+ "onhashchange": "writeable",
507
+ "oninput": "writeable",
508
+ "oninvalid": "writeable",
509
+ "onkeydown": "writeable",
510
+ "onkeypress": "writeable",
511
+ "onkeyup": "writeable",
512
+ "onlanguagechange": "writeable",
513
+ "onload": "writeable",
514
+ "onloadeddata": "writeable",
515
+ "onloadedmetadata": "writeable",
516
+ "onloadstart": "writeable",
517
+ "onlostpointercapture": "writeable",
518
+ "onmessage": "writeable",
519
+ "onmessageerror": "writeable",
520
+ "onmousedown": "writeable",
521
+ "onmouseenter": "writeable",
522
+ "onmouseleave": "writeable",
523
+ "onmousemove": "writeable",
524
+ "onmouseout": "writeable",
525
+ "onmouseover": "writeable",
526
+ "onmouseup": "writeable",
527
+ "onmousewheel": "writeable",
528
+ "onoffline": "writeable",
529
+ "ononline": "writeable",
530
+ "onpagehide": "writeable",
531
+ "onpageshow": "writeable",
532
+ "onpause": "writeable",
533
+ "onplay": "writeable",
534
+ "onplaying": "writeable",
535
+ "onpointercancel": "writeable",
536
+ "onpointerdown": "writeable",
537
+ "onpointerenter": "writeable",
538
+ "onpointerleave": "writeable",
539
+ "onpointermove": "writeable",
540
+ "onpointerout": "writeable",
541
+ "onpointerover": "writeable",
542
+ "onpointerup": "writeable",
543
+ "onpopstate": "writeable",
544
+ "onprogress": "writeable",
545
+ "onratechange": "writeable",
546
+ "onrejectionhandled": "writeable",
547
+ "onreset": "writeable",
548
+ "onresize": "writeable",
549
+ "onscroll": "writeable",
550
+ "onsearch": "writeable",
551
+ "onseeked": "writeable",
552
+ "onseeking": "writeable",
553
+ "onselect": "writeable",
554
+ "onstalled": "writeable",
555
+ "onstorage": "writeable",
556
+ "onsubmit": "writeable",
557
+ "onsuspend": "writeable",
558
+ "ontimeupdate": "writeable",
559
+ "ontoggle": "writeable",
560
+ "ontransitionend": "writeable",
561
+ "onunhandledrejection": "writeable",
562
+ "onunload": "writeable",
563
+ "onvolumechange": "writeable",
564
+ "onwaiting": "writeable",
565
+ "onwheel": "writeable",
566
+ "open": "readonly",
567
+ "openDatabase": "readonly",
568
+ "opener": "readonly",
569
+ "Option": "readonly",
570
+ "origin": "readonly",
571
+ "OscillatorNode": "readonly",
572
+ "outerHeight": "readonly",
573
+ "outerWidth": "readonly",
574
+ "PageTransitionEvent": "readonly",
575
+ "pageXOffset": "readonly",
576
+ "pageYOffset": "readonly",
577
+ "PannerNode": "readonly",
578
+ "parent": "readonly",
579
+ "Path2D": "readonly",
580
+ "PaymentAddress": "readonly",
581
+ "PaymentRequest": "readonly",
582
+ "PaymentRequestUpdateEvent": "readonly",
583
+ "PaymentResponse": "readonly",
584
+ "performance": "readonly",
585
+ "Performance": "readonly",
586
+ "PerformanceEntry": "readonly",
587
+ "PerformanceLongTaskTiming": "readonly",
588
+ "PerformanceMark": "readonly",
589
+ "PerformanceMeasure": "readonly",
590
+ "PerformanceNavigation": "readonly",
591
+ "PerformanceNavigationTiming": "readonly",
592
+ "PerformanceObserver": "readonly",
593
+ "PerformanceObserverEntryList": "readonly",
594
+ "PerformancePaintTiming": "readonly",
595
+ "PerformanceResourceTiming": "readonly",
596
+ "PerformanceTiming": "readonly",
597
+ "PeriodicWave": "readonly",
598
+ "Permissions": "readonly",
599
+ "PermissionStatus": "readonly",
600
+ "personalbar": "readonly",
601
+ "PhotoCapabilities": "readonly",
602
+ "Plugin": "readonly",
603
+ "PluginArray": "readonly",
604
+ "PointerEvent": "readonly",
605
+ "PopStateEvent": "readonly",
606
+ "postMessage": "readonly",
607
+ "Presentation": "readonly",
608
+ "PresentationAvailability": "readonly",
609
+ "PresentationConnection": "readonly",
610
+ "PresentationConnectionAvailableEvent": "readonly",
611
+ "PresentationConnectionCloseEvent": "readonly",
612
+ "PresentationConnectionList": "readonly",
613
+ "PresentationReceiver": "readonly",
614
+ "PresentationRequest": "readonly",
615
+ "print": "readonly",
616
+ "ProcessingInstruction": "readonly",
617
+ "ProgressEvent": "readonly",
618
+ "PromiseRejectionEvent": "readonly",
619
+ "prompt": "readonly",
620
+ "PushManager": "readonly",
621
+ "PushSubscription": "readonly",
622
+ "PushSubscriptionOptions": "readonly",
623
+ "RadioNodeList": "readonly",
624
+ "Range": "readonly",
625
+ "ReadableStream": "readonly",
626
+ "registerProcessor": "readonly",
627
+ "RemotePlayback": "readonly",
628
+ "removeEventListener": "readonly",
629
+ "Request": "readonly",
630
+ "requestAnimationFrame": "readonly",
631
+ "requestIdleCallback": "readonly",
632
+ "resizeBy": "readonly",
633
+ "ResizeObserver": "readonly",
634
+ "ResizeObserverEntry": "readonly",
635
+ "resizeTo": "readonly",
636
+ "Response": "readonly",
637
+ "RTCCertificate": "readonly",
638
+ "RTCDataChannel": "readonly",
639
+ "RTCDataChannelEvent": "readonly",
640
+ "RTCDtlsTransport": "readonly",
641
+ "RTCIceCandidate": "readonly",
642
+ "RTCIceGatherer": "readonly",
643
+ "RTCIceTransport": "readonly",
644
+ "RTCPeerConnection": "readonly",
645
+ "RTCPeerConnectionIceEvent": "readonly",
646
+ "RTCRtpContributingSource": "readonly",
647
+ "RTCRtpReceiver": "readonly",
648
+ "RTCRtpSender": "readonly",
649
+ "RTCSctpTransport": "readonly",
650
+ "RTCSessionDescription": "readonly",
651
+ "RTCStatsReport": "readonly",
652
+ "RTCTrackEvent": "readonly",
653
+ "screen": "readonly",
654
+ "Screen": "readonly",
655
+ "screenLeft": "readonly",
656
+ "ScreenOrientation": "readonly",
657
+ "screenTop": "readonly",
658
+ "screenX": "readonly",
659
+ "screenY": "readonly",
660
+ "ScriptProcessorNode": "readonly",
661
+ "scroll": "readonly",
662
+ "scrollbars": "readonly",
663
+ "scrollBy": "readonly",
664
+ "scrollTo": "readonly",
665
+ "scrollX": "readonly",
666
+ "scrollY": "readonly",
667
+ "SecurityPolicyViolationEvent": "readonly",
668
+ "Selection": "readonly",
669
+ "self": "readonly",
670
+ "ServiceWorker": "readonly",
671
+ "ServiceWorkerContainer": "readonly",
672
+ "ServiceWorkerRegistration": "readonly",
673
+ "sessionStorage": "readonly",
674
+ "ShadowRoot": "readonly",
675
+ "SharedWorker": "readonly",
676
+ "SourceBuffer": "readonly",
677
+ "SourceBufferList": "readonly",
678
+ "speechSynthesis": "readonly",
679
+ "SpeechSynthesisEvent": "readonly",
680
+ "SpeechSynthesisUtterance": "readonly",
681
+ "StaticRange": "readonly",
682
+ "status": "readonly",
683
+ "statusbar": "readonly",
684
+ "StereoPannerNode": "readonly",
685
+ "stop": "readonly",
686
+ "Storage": "readonly",
687
+ "StorageEvent": "readonly",
688
+ "StorageManager": "readonly",
689
+ "styleMedia": "readonly",
690
+ "StyleSheet": "readonly",
691
+ "StyleSheetList": "readonly",
692
+ "SubtleCrypto": "readonly",
693
+ "SVGAElement": "readonly",
694
+ "SVGAngle": "readonly",
695
+ "SVGAnimatedAngle": "readonly",
696
+ "SVGAnimatedBoolean": "readonly",
697
+ "SVGAnimatedEnumeration": "readonly",
698
+ "SVGAnimatedInteger": "readonly",
699
+ "SVGAnimatedLength": "readonly",
700
+ "SVGAnimatedLengthList": "readonly",
701
+ "SVGAnimatedNumber": "readonly",
702
+ "SVGAnimatedNumberList": "readonly",
703
+ "SVGAnimatedPreserveAspectRatio": "readonly",
704
+ "SVGAnimatedRect": "readonly",
705
+ "SVGAnimatedString": "readonly",
706
+ "SVGAnimatedTransformList": "readonly",
707
+ "SVGAnimateElement": "readonly",
708
+ "SVGAnimateMotionElement": "readonly",
709
+ "SVGAnimateTransformElement": "readonly",
710
+ "SVGAnimationElement": "readonly",
711
+ "SVGCircleElement": "readonly",
712
+ "SVGClipPathElement": "readonly",
713
+ "SVGComponentTransferFunctionElement": "readonly",
714
+ "SVGDefsElement": "readonly",
715
+ "SVGDescElement": "readonly",
716
+ "SVGDiscardElement": "readonly",
717
+ "SVGElement": "readonly",
718
+ "SVGEllipseElement": "readonly",
719
+ "SVGFEBlendElement": "readonly",
720
+ "SVGFEColorMatrixElement": "readonly",
721
+ "SVGFEComponentTransferElement": "readonly",
722
+ "SVGFECompositeElement": "readonly",
723
+ "SVGFEConvolveMatrixElement": "readonly",
724
+ "SVGFEDiffuseLightingElement": "readonly",
725
+ "SVGFEDisplacementMapElement": "readonly",
726
+ "SVGFEDistantLightElement": "readonly",
727
+ "SVGFEDropShadowElement": "readonly",
728
+ "SVGFEFloodElement": "readonly",
729
+ "SVGFEFuncAElement": "readonly",
730
+ "SVGFEFuncBElement": "readonly",
731
+ "SVGFEFuncGElement": "readonly",
732
+ "SVGFEFuncRElement": "readonly",
733
+ "SVGFEGaussianBlurElement": "readonly",
734
+ "SVGFEImageElement": "readonly",
735
+ "SVGFEMergeElement": "readonly",
736
+ "SVGFEMergeNodeElement": "readonly",
737
+ "SVGFEMorphologyElement": "readonly",
738
+ "SVGFEOffsetElement": "readonly",
739
+ "SVGFEPointLightElement": "readonly",
740
+ "SVGFESpecularLightingElement": "readonly",
741
+ "SVGFESpotLightElement": "readonly",
742
+ "SVGFETileElement": "readonly",
743
+ "SVGFETurbulenceElement": "readonly",
744
+ "SVGFilterElement": "readonly",
745
+ "SVGForeignObjectElement": "readonly",
746
+ "SVGGElement": "readonly",
747
+ "SVGGeometryElement": "readonly",
748
+ "SVGGradientElement": "readonly",
749
+ "SVGGraphicsElement": "readonly",
750
+ "SVGImageElement": "readonly",
751
+ "SVGLength": "readonly",
752
+ "SVGLengthList": "readonly",
753
+ "SVGLinearGradientElement": "readonly",
754
+ "SVGLineElement": "readonly",
755
+ "SVGMarkerElement": "readonly",
756
+ "SVGMaskElement": "readonly",
757
+ "SVGMatrix": "readonly",
758
+ "SVGMetadataElement": "readonly",
759
+ "SVGMPathElement": "readonly",
760
+ "SVGNumber": "readonly",
761
+ "SVGNumberList": "readonly",
762
+ "SVGPathElement": "readonly",
763
+ "SVGPatternElement": "readonly",
764
+ "SVGPoint": "readonly",
765
+ "SVGPointList": "readonly",
766
+ "SVGPolygonElement": "readonly",
767
+ "SVGPolylineElement": "readonly",
768
+ "SVGPreserveAspectRatio": "readonly",
769
+ "SVGRadialGradientElement": "readonly",
770
+ "SVGRect": "readonly",
771
+ "SVGRectElement": "readonly",
772
+ "SVGScriptElement": "readonly",
773
+ "SVGSetElement": "readonly",
774
+ "SVGStopElement": "readonly",
775
+ "SVGStringList": "readonly",
776
+ "SVGStyleElement": "readonly",
777
+ "SVGSVGElement": "readonly",
778
+ "SVGSwitchElement": "readonly",
779
+ "SVGSymbolElement": "readonly",
780
+ "SVGTextContentElement": "readonly",
781
+ "SVGTextElement": "readonly",
782
+ "SVGTextPathElement": "readonly",
783
+ "SVGTextPositioningElement": "readonly",
784
+ "SVGTitleElement": "readonly",
785
+ "SVGTransform": "readonly",
786
+ "SVGTransformList": "readonly",
787
+ "SVGTSpanElement": "readonly",
788
+ "SVGUnitTypes": "readonly",
789
+ "SVGUseElement": "readonly",
790
+ "SVGViewElement": "readonly",
791
+ "TaskAttributionTiming": "readonly",
792
+ "Text": "readonly",
793
+ "TextEvent": "readonly",
794
+ "TextMetrics": "readonly",
795
+ "TextTrack": "readonly",
796
+ "TextTrackCue": "readonly",
797
+ "TextTrackCueList": "readonly",
798
+ "TextTrackList": "readonly",
799
+ "TimeRanges": "readonly",
800
+ "toolbar": "readonly",
801
+ "top": "readonly",
802
+ "Touch": "readonly",
803
+ "TouchEvent": "readonly",
804
+ "TouchList": "readonly",
805
+ "TrackEvent": "readonly",
806
+ "TransitionEvent": "readonly",
807
+ "TreeWalker": "readonly",
808
+ "UIEvent": "readonly",
809
+ "ValidityState": "readonly",
810
+ "visualViewport": "readonly",
811
+ "VisualViewport": "readonly",
812
+ "VTTCue": "readonly",
813
+ "WaveShaperNode": "readonly",
814
+ "WebAssembly": "readonly",
815
+ "WebGL2RenderingContext": "readonly",
816
+ "WebGLActiveInfo": "readonly",
817
+ "WebGLBuffer": "readonly",
818
+ "WebGLContextEvent": "readonly",
819
+ "WebGLFramebuffer": "readonly",
820
+ "WebGLProgram": "readonly",
821
+ "WebGLQuery": "readonly",
822
+ "WebGLRenderbuffer": "readonly",
823
+ "WebGLRenderingContext": "readonly",
824
+ "WebGLSampler": "readonly",
825
+ "WebGLShader": "readonly",
826
+ "WebGLShaderPrecisionFormat": "readonly",
827
+ "WebGLSync": "readonly",
828
+ "WebGLTexture": "readonly",
829
+ "WebGLTransformFeedback": "readonly",
830
+ "WebGLUniformLocation": "readonly",
831
+ "WebGLVertexArrayObject": "readonly",
832
+ "WebSocket": "readonly",
833
+ "WheelEvent": "readonly",
834
+ "Window": "readonly",
835
+ "Worker": "readonly",
836
+ "WritableStream": "readonly",
837
+ "XMLDocument": "readonly",
838
+ "XMLHttpRequest": "readonly",
839
+ "XMLHttpRequestEventTarget": "readonly",
840
+ "XMLHttpRequestUpload": "readonly",
841
+ "XMLSerializer": "readonly",
842
+ "XPathEvaluator": "readonly",
843
+ "XPathExpression": "readonly",
844
+ "XPathResult": "readonly",
845
+ "XSLTProcessor": "readonly"
846
+ },
847
+ "overrides": [
848
+ {
849
+ "files": [
850
+ "**/*.?([cm])ts",
851
+ "**/*.?([cm])tsx",
852
+ "**/*.vue"
853
+ ],
854
+ "rules": {
855
+ "no-array-constructor": "error",
856
+ "no-empty-function": "off",
857
+ "no-magic-numbers": "off",
858
+ "no-unused-vars": [
859
+ "error",
860
+ {
861
+ "args": "after-used",
862
+ "ignoreRestSiblings": true,
863
+ "argsIgnorePattern": "^_.+",
864
+ "varsIgnorePattern": "^_.+"
865
+ }
866
+ ],
867
+ "@typescript-eslint/ban-ts-comment": "error",
868
+ "@typescript-eslint/no-duplicate-enum-values": "error",
869
+ "@typescript-eslint/no-empty-object-type": "error",
870
+ "@typescript-eslint/no-explicit-any": "error",
871
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
872
+ "@typescript-eslint/no-misused-new": "error",
873
+ "@typescript-eslint/no-namespace": [
874
+ "error",
875
+ {
876
+ "allowDeclarations": true,
877
+ "allowDefinitionFiles": true
878
+ }
879
+ ],
880
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
881
+ "@typescript-eslint/no-require-imports": "error",
882
+ "@typescript-eslint/no-this-alias": [
883
+ "error",
884
+ {
885
+ "allowDestructuring": true
886
+ }
887
+ ],
888
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
889
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
890
+ "@typescript-eslint/no-unsafe-function-type": "error",
891
+ "no-unused-expressions": [
892
+ "error",
893
+ {
894
+ "allowShortCircuit": true,
895
+ "allowTernary": true,
896
+ "allowTaggedTemplates": true
897
+ }
898
+ ],
899
+ "@typescript-eslint/no-wrapper-object-types": "error",
900
+ "@typescript-eslint/prefer-as-const": "error",
901
+ "@typescript-eslint/prefer-namespace-keyword": "error",
902
+ "@typescript-eslint/triple-slash-reference": [
903
+ "error",
904
+ {
905
+ "path": "never",
906
+ "types": "always",
907
+ "lib": "always"
908
+ }
909
+ ],
910
+ "@typescript-eslint/adjacent-overload-signatures": "error",
911
+ "@typescript-eslint/consistent-type-definitions": "off",
912
+ "@typescript-eslint/no-empty-interface": "error",
913
+ "@typescript-eslint/no-inferrable-types": "warn",
914
+ "@typescript-eslint/prefer-for-of": "warn",
915
+ "@typescript-eslint/prefer-function-type": "off"
916
+ },
917
+ "plugins": [
918
+ "typescript"
919
+ ]
920
+ },
921
+ {
922
+ "files": [
923
+ "*.d.ts"
924
+ ],
925
+ "rules": {
926
+ "import/no-duplicates": "off"
927
+ }
928
+ }
929
+ ]
930
+ }