-
Notifications
You must be signed in to change notification settings - Fork 892
Expand file tree
/
Copy path.oxlintrc.json
More file actions
501 lines (501 loc) · 23.7 KB
/
Copy path.oxlintrc.json
File metadata and controls
501 lines (501 loc) · 23.7 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "jsx-a11y", "nextjs", "promise", "react", "typescript", "unicorn"],
"jsPlugins": [
{ "name": "golden", "specifier": "oxlint-plugin-golden" },
{ "name": "react-doctor", "specifier": "oxlint-plugin-react-doctor" }
],
"ignorePatterns": [
"**/.next",
"**/.swc",
"**/node_modules",
"**/out",
"**/public",
"**/assets",
"README.md",
"next-env.d.ts"
],
"rules": {
"branches-sharing-code": "error",
"curly": "error",
"default-param-last": "error",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-style": ["error", "declaration"],
"no-constant-condition": ["error", { "checkLoops": false }],
"no-duplicate-imports": "error",
"no-implicit-coercion": ["error", { "boolean": false }],
"no-unused-expressions": ["error", { "allowShortCircuit": true, "enforceForJSX": true }],
"no-unused-vars": [
"error",
{
"vars": "all",
"ignoreRestSiblings": true,
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_"
}
],
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-constructor": "error",
"no-useless-return": "error",
"no-useless-spread": "error",
"no-var": "error",
"no-void": ["error", { "allowAsStatement": true }],
"object-shorthand": "error",
"prefer-const": "error",
"prefer-promise-reject-errors": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"sort-imports": [
"error",
{ "allowSeparatedGroups": true, "ignoreDeclarationSort": true, "ignoreCase": true }
],
"golden/no-chained-type-assertions": "error",
"golden/no-empty-object-types": "error",
"golden/no-known-value-widening": "error",
"golden/no-object-parameters": "error",
"golden/no-redundant-optional-undefined": "error",
"golden/no-unknown-parameters": "error",
"golden/no-unknown-returns": "error",
"golden/no-unknown-type-aliases": "error",
"golden/no-unsafe-dictionary-type": "error",
"golden/no-widen-then-assert": "error",
"import/consistent-type-specifier-style": ["error", "prefer-inline"],
"import/default": "error",
"import/namespace": "error",
"import/no-cycle": ["error", { "maxDepth": 3 }],
"import/no-duplicates": "error",
"import/no-named-as-default": "error",
"import/no-named-as-default-member": "error",
"import/no-self-import": "error",
"jsx-a11y/alt-text": "error",
"jsx-a11y/anchor-has-content": "error",
"jsx-a11y/anchor-is-valid": "error",
"jsx-a11y/aria-props": "error",
"jsx-a11y/aria-role": "error",
"jsx-a11y/autocomplete-valid": "error",
"jsx-a11y/heading-has-content": "error",
"jsx-a11y/html-has-lang": "error",
"jsx-a11y/img-redundant-alt": "error",
"jsx-a11y/label-has-associated-control": "error",
"jsx-a11y/no-aria-hidden-on-focusable": "error",
"jsx-a11y/no-noninteractive-tabindex": "error",
"jsx-a11y/no-redundant-roles": "error",
"jsx-a11y/no-static-element-interactions": "error",
"jsx-a11y/prefer-tag-over-role": "off",
"jsx-a11y/role-has-required-aria-props": "error",
"nextjs/google-font-display": "error",
"nextjs/google-font-preconnect": "error",
"nextjs/inline-script-id": "error",
"nextjs/next-script-for-ga": "error",
"nextjs/no-assign-module-variable": "error",
"nextjs/no-async-client-component": "error",
"nextjs/no-before-interactive-script-outside-document": "error",
"nextjs/no-css-tags": "error",
"nextjs/no-document-import-in-page": "error",
"nextjs/no-duplicate-head": "error",
"nextjs/no-head-element": "error",
"nextjs/no-head-import-in-document": "error",
"nextjs/no-html-link-for-pages": "error",
"nextjs/no-img-element": "off",
"nextjs/no-page-custom-font": "error",
"nextjs/no-script-component-in-head": "error",
"nextjs/no-styled-jsx-in-document": "error",
"nextjs/no-sync-scripts": "error",
"nextjs/no-title-in-document-head": "error",
"nextjs/no-typos": "error",
"nextjs/no-unwanted-polyfillio": "error",
"promise/always-return": "error",
"promise/no-callback-in-promise": "error",
"promise/no-multiple-resolved": "error",
"promise/no-return-wrap": "error",
"react/exhaustive-deps": "error",
"react/forward-ref-uses-ref": "error",
"react/jsx-boolean-value": ["error"],
"react/jsx-curly-brace-presence": ["error"],
"react/jsx-fragments": ["error", "syntax"],
"react/jsx-key": [
"error",
{ "checkFragmentShorthand": true, "checkKeyMustBeforeSpread": true, "warnOnDuplicates": true }
],
"react/jsx-max-depth": ["error", { "max": 8 }],
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-undef": "error",
"react/jsx-no-useless-fragment": "error",
"react/no-array-index-key": "error",
"react/no-did-mount-set-state": "error",
"react/no-direct-mutation-state": "error",
"react/no-redundant-should-component-update": "error",
"react/no-render-return-value": "error",
"react/no-string-refs": "error",
"react/no-this-in-sfc": "error",
"react/no-unknown-property": "error",
"react/no-unescaped-entities": "error",
"react/no-unstable-nested-components": [
"error",
{
"allowAsProps": true
}
],
"react/no-will-update-set-state": "error",
"react/prefer-function-component": "error",
"react/rules-of-hooks": "error",
"react/self-closing-comp": "error",
"react/void-dom-elements-no-children": "error",
"react-doctor/active-static-asset": "error",
"react-doctor/activity-wraps-effect-heavy-subtree": "error",
"react-doctor/advanced-event-handler-refs": "error",
"react-doctor/async-defer-await": "error",
"react-doctor/async-parallel": "error",
"react-doctor/autocomplete-valid": "error",
"react-doctor/button-has-type": "error",
"react-doctor/checked-requires-onchange-or-readonly": "error",
"react-doctor/click-events-have-key-events": "error",
"react-doctor/client-localstorage-no-version": "error",
"react-doctor/client-passive-event-listeners": "error",
"react-doctor/command-execution-input-risk": "error",
"react-doctor/control-has-associated-label": "error",
"react-doctor/dangerous-html-sink": "error",
"react-doctor/design-no-redundant-padding-axes": "error",
"react-doctor/design-no-redundant-size-axes": "error",
"react-doctor/design-no-space-on-flex-children": "error",
"react-doctor/design-no-three-period-ellipsis": "error",
"react-doctor/design-no-vague-button-label": "error",
"react-doctor/dialog-has-accessible-name": "error",
"react-doctor/effect-needs-cleanup": "error",
"react-doctor/exhaustive-deps": "error",
"react-doctor/forbid-dom-props": "error",
"react-doctor/forbid-elements": "error",
"react-doctor/forward-ref-uses-ref": "error",
"react-doctor/heading-has-content": "error",
"react-doctor/hooks-no-nan-in-deps": "error",
"react-doctor/html-has-lang": "error",
"react-doctor/html-no-invalid-paragraph-child": "error",
"react-doctor/html-no-invalid-table-nesting": "error",
"react-doctor/html-no-nested-interactive": "error",
"react-doctor/img-redundant-alt": "error",
"react-doctor/interactive-supports-focus": "error",
"react-doctor/js-async-reduce-without-awaited-acc": "error",
"react-doctor/js-batch-dom-css": "error",
"react-doctor/js-cache-property-access": "error",
"react-doctor/js-cache-storage": "error",
"react-doctor/js-early-exit": "error",
"react-doctor/js-flatmap-filter": "error",
"react-doctor/js-hoist-intl": "error",
"react-doctor/js-hoist-regexp": "error",
"react-doctor/js-length-check-first": "error",
"react-doctor/js-min-max-loop": "error",
"react-doctor/js-tosorted-immutable": "error",
"react-doctor/jsx-boolean-value": "error",
"react-doctor/jsx-curly-brace-presence": "error",
"react-doctor/jsx-filename-extension": "error",
"react-doctor/jsx-fragments": "error",
"react-doctor/jsx-handler-names": "error",
"react-doctor/jsx-key": "error",
"react-doctor/jsx-no-comment-textnodes": "error",
"react-doctor/jsx-no-constructed-context-values": "error",
"react-doctor/jsx-no-duplicate-props": "error",
"react-doctor/jsx-no-script-url": "error",
"react-doctor/jsx-no-undef": "error",
"react-doctor/jsx-no-useless-fragment": "error",
"react-doctor/jsx-props-no-spread-multi": "error",
"react-doctor/jwt-insecure-verification": "error",
"react-doctor/key-lifecycle-risk": "error",
"react-doctor/label-has-associated-control": "error",
"react-doctor/lang": "error",
"react-doctor/mdx-ssr-execution-risk": "error",
"react-doctor/media-has-caption": "error",
"react-doctor/mouse-events-have-key-events": "error",
"react-doctor/nextjs-async-client-component": "error",
"react-doctor/nextjs-error-boundary-missing-use-client": "error",
"react-doctor/nextjs-global-error-missing-html-body": "error",
"react-doctor/nextjs-image-missing-sizes": "error",
"react-doctor/nextjs-inline-script-missing-id": "error",
"react-doctor/nextjs-missing-metadata": "error",
"react-doctor/nextjs-no-a-element": "error",
"react-doctor/nextjs-no-client-fetch-for-server-data": "error",
"react-doctor/nextjs-no-client-side-redirect": "error",
"react-doctor/nextjs-no-css-link": "error",
"react-doctor/nextjs-no-default-export-in-route-handler": "error",
"react-doctor/nextjs-no-edge-og-runtime": "error",
"react-doctor/nextjs-no-font-link": "error",
"react-doctor/nextjs-no-google-analytics-script": "error",
"react-doctor/nextjs-no-head-import": "error",
"react-doctor/nextjs-no-native-script": "error",
"react-doctor/nextjs-no-polyfill-script": "error",
"react-doctor/nextjs-no-redirect-in-try-catch": "error",
"react-doctor/nextjs-no-script-in-head": "error",
"react-doctor/nextjs-no-side-effect-in-get-handler": "error",
"react-doctor/nextjs-no-use-search-params-without-suspense": "error",
"react-doctor/nextjs-no-vercel-og-import": "error",
"react-doctor/no-access-key": "error",
"react-doctor/no-aria-hidden-on-focusable": "error",
"react-doctor/no-array-index-as-key": "error",
"react-doctor/no-array-index-key": "error",
"react-doctor/no-async-effect-callback": "error",
"react-doctor/no-autofocus": "error",
"react-doctor/no-barrel-import": "error",
"react-doctor/no-call-component-as-function": "error",
"react-doctor/no-chain-state-updates": "error",
"react-doctor/no-children-prop": "error",
"react-doctor/no-clone-element": "error",
"react-doctor/no-create-context-in-render": "error",
"react-doctor/no-create-ref-in-function-component": "error",
"react-doctor/no-create-store-in-render": "error",
"react-doctor/no-danger-with-children": "error",
"react-doctor/no-dark-mode-glow": "error",
"react-doctor/no-default-props": "error",
"react-doctor/no-derived-state": "error",
"react-doctor/no-derived-state-effect": "error",
"react-doctor/no-derived-useState": "error",
"react-doctor/no-did-mount-set-state": "error",
"react-doctor/no-did-update-set-state": "error",
"react-doctor/no-direct-mutation-state": "error",
"react-doctor/no-direct-state-mutation": "error",
"react-doctor/no-distracting-elements": "error",
"react-doctor/no-document-start-view-transition": "error",
"react-doctor/no-document-write": "error",
"react-doctor/no-dynamic-import-path": "error",
"react-doctor/no-effect-chain": "error",
"react-doctor/no-effect-event-handler": "error",
"react-doctor/no-effect-event-in-deps": "error",
"react-doctor/no-effect-with-fresh-deps": "error",
"react-doctor/no-eval": "error",
"react-doctor/no-event-trigger-state": "error",
"react-doctor/no-fetch-in-effect": "error",
"react-doctor/no-find-dom-node": "error",
"react-doctor/no-flush-sync": "error",
"react-doctor/no-full-lodash-import": "error",
"react-doctor/no-generic-handler-names": "error",
"react-doctor/no-global-css-variable-animation": "error",
"react-doctor/no-gradient-text": "error",
"react-doctor/no-gray-on-colored-background": "error",
"react-doctor/no-img-lazy-with-high-fetchpriority": "error",
"react-doctor/no-initialize-state": "error",
"react-doctor/no-inline-bounce-easing": "error",
"react-doctor/no-inline-exhaustive-style": "error",
"react-doctor/no-inline-prop-on-memo-component": "error",
"react-doctor/no-interactive-element-to-noninteractive-role": "error",
"react-doctor/no-is-mounted": "error",
"react-doctor/no-json-parse-stringify-clone": "error",
"react-doctor/no-jsx-element-type": "error",
"react-doctor/no-justified-text": "error",
"react-doctor/no-large-animated-blur": "error",
"react-doctor/no-layout-property-animation": "error",
"react-doctor/no-layout-transition-inline": "error",
"react-doctor/no-legacy-class-lifecycles": "error",
"react-doctor/no-legacy-context-api": "error",
"react-doctor/no-long-transition-duration": "error",
"react-doctor/no-mirror-prop-effect": "error",
"react-doctor/no-moment": "error",
"react-doctor/no-mutable-in-deps": "error",
"react-doctor/no-mutating-reducer-state": "error",
"react-doctor/no-namespace": "error",
"react-doctor/no-nested-component-definition": "error",
"react-doctor/no-outline-none": "error",
"react-doctor/no-pass-data-to-parent": "error",
"react-doctor/no-pass-live-state-to-parent": "error",
"react-doctor/no-permanent-will-change": "error",
"react-doctor/no-prevent-default": "error",
"react-doctor/no-prop-callback-in-effect": "error",
"react-doctor/no-prop-types": "error",
"react-doctor/no-pure-black-background": "error",
"react-doctor/no-random-key": "error",
"react-doctor/no-react-dom-deprecated-apis": "error",
"react-doctor/no-react19-deprecated-apis": "error",
"react-doctor/no-redundant-roles": "error",
"react-doctor/no-redundant-should-component-update": "error",
"react-doctor/no-render-in-render": "error",
"react-doctor/no-render-prop-children": "error",
"react-doctor/no-render-return-value": "error",
"react-doctor/no-reset-all-state-on-prop-change": "error",
"react-doctor/no-scale-from-zero": "error",
"react-doctor/no-secrets-in-client-code": "error",
"react-doctor/no-self-updating-effect": "error",
"react-doctor/no-set-state": "error",
"react-doctor/no-set-state-in-render": "error",
"react-doctor/no-side-tab-border": "error",
"react-doctor/no-static-element-interactions": "error",
"react-doctor/no-string-false-on-boolean-attribute": "error",
"react-doctor/no-string-refs": "error",
"react-doctor/no-sync-xhr": "error",
"react-doctor/no-this-in-sfc": "error",
"react-doctor/no-tiny-text": "error",
"react-doctor/no-transition-all": "error",
"react-doctor/no-uncontrolled-input": "error",
"react-doctor/no-undeferred-third-party": "error",
"react-doctor/no-unescaped-entities": "error",
"react-doctor/no-unknown-property": "error",
"react-doctor/no-unsafe": "error",
"react-doctor/no-usememo-simple-expression": "error",
"react-doctor/no-wide-letter-spacing": "error",
"react-doctor/no-will-update-set-state": "error",
"react-doctor/no-z-index-9999": "error",
"react-doctor/package-metadata-secret": "error",
"react-doctor/path-traversal-risk": "error",
"react-doctor/postmessage-origin-risk": "error",
"react-doctor/prefer-dynamic-import": "error",
"react-doctor/prefer-es6-class": "error",
"react-doctor/prefer-explicit-variants": "error",
"react-doctor/prefer-function-component": "error",
"react-doctor/prefer-html-dialog": "error",
"react-doctor/prefer-module-scope-pure-function": "error",
"react-doctor/prefer-module-scope-static-value": "error",
"react-doctor/prefer-stable-empty-fallback": "error",
"react-doctor/prefer-tag-over-role": "error",
"react-doctor/prefer-use-effect-event": "error",
"react-doctor/prefer-use-sync-external-store": "error",
"react-doctor/public-debug-artifact": "error",
"react-doctor/public-env-secret-name": "error",
"react-doctor/react-compiler-no-manual-memoization": "error",
"react-doctor/rendering-animate-svg-wrapper": "error",
"react-doctor/rendering-conditional-render": "error",
"react-doctor/rendering-hoist-jsx": "error",
"react-doctor/rendering-hydration-mismatch-time": "error",
"react-doctor/rendering-hydration-no-flicker": "error",
"react-doctor/rendering-script-defer-async": "error",
"react-doctor/rendering-usetransition-loading": "error",
"react-doctor/request-body-mass-assignment": "error",
"react-doctor/require-render-return": "error",
"react-doctor/rerender-defer-reads-hook": "error",
"react-doctor/rerender-dependencies": "error",
"react-doctor/rerender-derived-state-from-hook": "error",
"react-doctor/rerender-functional-setstate": "error",
"react-doctor/rerender-lazy-ref-init": "error",
"react-doctor/rerender-lazy-state-init": "error",
"react-doctor/rerender-memo-before-early-return": "error",
"react-doctor/rerender-memo-with-default-value": "error",
"react-doctor/rerender-state-only-in-handlers": "error",
"react-doctor/rerender-transitions-scroll": "error",
"react-doctor/rn-animate-layout-property": "error",
"react-doctor/rn-animation-reaction-as-derived": "error",
"react-doctor/rn-bottom-sheet-prefer-native": "error",
"react-doctor/rn-detox-missing-await": "error",
"react-doctor/rn-list-callback-per-row": "error",
"react-doctor/rn-list-data-mapped": "error",
"react-doctor/rn-list-missing-estimated-item-size": "error",
"react-doctor/rn-list-recyclable-without-types": "error",
"react-doctor/rn-no-deep-imports": "error",
"react-doctor/rn-no-deprecated-modules": "error",
"react-doctor/rn-no-dimensions-get": "error",
"react-doctor/rn-no-falsy-and-render": "error",
"react-doctor/rn-no-image-children": "error",
"react-doctor/rn-no-inline-flatlist-renderitem": "error",
"react-doctor/rn-no-inline-object-in-list-item": "error",
"react-doctor/rn-no-legacy-expo-packages": "error",
"react-doctor/rn-no-legacy-shadow-styles": "error",
"react-doctor/rn-no-non-native-navigator": "error",
"react-doctor/rn-no-panresponder": "error",
"react-doctor/rn-no-renderitem-key": "error",
"react-doctor/rn-no-scroll-state": "error",
"react-doctor/rn-no-scrollview-mapped-list": "error",
"react-doctor/rn-no-set-native-props": "error",
"react-doctor/rn-no-single-element-style-array": "error",
"react-doctor/rn-prefer-content-inset-adjustment": "error",
"react-doctor/rn-prefer-pressable": "error",
"react-doctor/rn-prefer-pressable-over-gesture-detector": "error",
"react-doctor/rn-prefer-reanimated": "error",
"react-doctor/rn-pressable-shared-value-mutation": "error",
"react-doctor/rn-scrollview-dynamic-padding": "error",
"react-doctor/rn-scrollview-flex-in-content-container": "error",
"react-doctor/rn-style-prefer-boxshadow": "error",
"react-doctor/role-has-required-aria-props": "error",
"react-doctor/role-supports-aria-props": "error",
"react-doctor/rules-of-hooks": "error",
"react-doctor/scope": "error",
"react-doctor/secret-in-fallback": "error",
"react-doctor/self-closing-comp": "error",
"react-doctor/server-after-nonblocking": "error",
"react-doctor/server-auth-actions": "error",
"react-doctor/server-cache-with-object-literal": "error",
"react-doctor/server-dedup-props": "error",
"react-doctor/server-fetch-without-revalidate": "error",
"react-doctor/server-hoist-static-io": "error",
"react-doctor/server-no-mutable-module-state": "error",
"react-doctor/server-sequential-independent-await": "error",
"react-doctor/state-in-constructor": "error",
"react-doctor/style-prop-object": "error",
"react-doctor/tabindex-no-positive": "error",
"react-doctor/unsafe-json-in-html": "error",
"react-doctor/untrusted-redirect-following": "error",
"react-doctor/url-prefilled-privileged-action": "error",
"react-doctor/use-lazy-motion": "error",
"react-doctor/void-dom-elements-no-children": "error",
"typescript/await-thenable": "error",
"typescript/ban-ts-comment": [
"error",
{
"minimumDescriptionLength": 3,
"ts-check": false,
"ts-expect-error": "allow-with-description",
"ts-ignore": true,
"ts-nocheck": true
}
],
"typescript/consistent-indexed-object-style": ["error", "record"],
"typescript/consistent-type-assertions": "error",
"typescript/consistent-type-imports": ["error", { "fixStyle": "inline-type-imports" }],
"typescript/method-signature-style": ["error", "property"],
"typescript/no-array-delete": "error",
"typescript/no-confusing-non-null-assertion": "error",
"typescript/no-confusing-void-expression": ["error", { "ignoreArrowShorthand": true }],
"typescript/no-duplicate-type-constituents": "error",
"typescript/no-empty-interface": "error",
"typescript/no-empty-object-type": "error",
"typescript/no-extra-non-null-assertion": "error",
"typescript/no-floating-promises": "error",
"typescript/no-for-in-array": "error",
"typescript/no-inferrable-types": "error",
"typescript/no-meaningless-void-operator": "error",
"typescript/no-misused-promises": ["error", { "checksVoidReturn": false }],
"typescript/no-restricted-types": "error",
"typescript/no-unnecessary-boolean-literal-compare": "error",
"typescript/no-unnecessary-parameter-property-assignment": "error",
"typescript/no-unnecessary-template-expression": "error",
"typescript/no-unnecessary-type-arguments": "error",
"typescript/no-unnecessary-type-assertion": "error",
"typescript/no-unnecessary-type-constraint": "error",
"typescript/no-unsafe-enum-comparison": "error",
"typescript/prefer-find": "error",
"typescript/prefer-includes": "error",
"typescript/prefer-nullish-coalescing": "error",
"typescript/prefer-optional-chain": "error",
"typescript/prefer-readonly": "error",
"typescript/prefer-reduce-type-parameter": "error",
"typescript/prefer-string-starts-ends-with": "error",
"typescript/return-await": ["error", "error-handling-correctness-only"],
"typescript/unbound-method": "off",
"unicorn/consistent-date-clone": "error",
"unicorn/consistent-empty-array-spread": "error",
"unicorn/consistent-existence-index-check": "error",
"unicorn/error-message": "error",
"unicorn/no-anonymous-default-export": "error",
"unicorn/no-array-fill-with-reference-type": "error",
"unicorn/no-confusing-array-with": "error",
"unicorn/no-immediate-mutation": "error",
"unicorn/no-length-as-slice-end": "error",
"unicorn/no-object-as-default-parameter": "error",
"unicorn/no-unnecessary-array-flat-depth": "error",
"unicorn/no-unnecessary-array-splice-count": "error",
"unicorn/no-useless-collection-argument": "error",
"unicorn/no-useless-iterator-to-array": "error",
"unicorn/numeric-separators-style": "error",
"unicorn/prefer-array-find": "error",
"unicorn/prefer-array-flat": "error",
"unicorn/prefer-array-flat-map": "error",
"unicorn/prefer-array-some": "error",
"unicorn/prefer-date-now": "error",
"unicorn/prefer-includes": "error",
"unicorn/prefer-keyboard-event-key": "error",
"unicorn/prefer-math-min-max": "error",
"unicorn/prefer-native-coercion-functions": "error",
"unicorn/prefer-node-protocol": "error",
"unicorn/prefer-number-properties": "error",
"unicorn/prefer-regexp-test": "error",
"unicorn/prefer-set-has": "error",
"unicorn/prefer-single-call": "error",
"unicorn/prefer-string-slice": "error",
"unicorn/require-number-to-fixed-digits-argument": "error"
}
}