@oxlint/migrate 1.32.0 → 1.34.0

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.
Files changed (44) hide show
  1. package/dist/bin/oxlint-migrate.d.mts +1 -0
  2. package/dist/bin/oxlint-migrate.mjs +330 -78
  3. package/dist/src/index.d.mts +46 -0
  4. package/dist/src/index.mjs +3 -80
  5. package/dist/src-MX2M8fZn.mjs +1494 -0
  6. package/package.json +37 -38
  7. package/dist/bin/config-loader.mjs +0 -46
  8. package/dist/bin/project-loader.mjs +0 -16
  9. package/dist/package.json.mjs +0 -8
  10. package/dist/src/cleanup.d.ts +0 -2
  11. package/dist/src/cleanup.mjs +0 -154
  12. package/dist/src/cleanup.test.d.ts +0 -1
  13. package/dist/src/constants.d.ts +0 -3
  14. package/dist/src/constants.mjs +0 -104
  15. package/dist/src/env_globals.d.ts +0 -16
  16. package/dist/src/env_globals.mjs +0 -233
  17. package/dist/src/generated/rules.d.ts +0 -7
  18. package/dist/src/generated/rules.mjs +0 -697
  19. package/dist/src/ignorePatterns.d.ts +0 -3
  20. package/dist/src/ignorePatterns.mjs +0 -20
  21. package/dist/src/index.d.ts +0 -4
  22. package/dist/src/jsPlugins.d.ts +0 -3
  23. package/dist/src/jsPlugins.mjs +0 -52
  24. package/dist/src/js_plugin_fixes.d.ts +0 -5
  25. package/dist/src/js_plugin_fixes.mjs +0 -39
  26. package/dist/src/overrides.d.ts +0 -2
  27. package/dist/src/overrides.mjs +0 -16
  28. package/dist/src/plugins_rules.d.ts +0 -13
  29. package/dist/src/plugins_rules.mjs +0 -251
  30. package/dist/src/reporter.d.ts +0 -10
  31. package/dist/src/reporter.mjs +0 -12
  32. package/dist/src/types.d.ts +0 -39
  33. package/dist/src/utilities.d.ts +0 -1
  34. package/dist/src/utilities.mjs +0 -12
  35. package/dist/src/walker/comments/index.d.ts +0 -2
  36. package/dist/src/walker/comments/index.mjs +0 -20
  37. package/dist/src/walker/comments/replaceRuleDirectiveComment.d.ts +0 -2
  38. package/dist/src/walker/comments/replaceRuleDirectiveComment.mjs +0 -59
  39. package/dist/src/walker/index.d.ts +0 -10
  40. package/dist/src/walker/index.mjs +0 -19
  41. package/dist/src/walker/partialSourceTextLoader.d.ts +0 -10
  42. package/dist/src/walker/partialSourceTextLoader.mjs +0 -167
  43. package/dist/src/walker/replaceCommentsInFile.d.ts +0 -2
  44. package/dist/src/walker/replaceCommentsInFile.mjs +0 -60
@@ -1,697 +0,0 @@
1
- const pedanticRules = [
2
- "array-callback-return",
3
- "eqeqeq",
4
- "max-classes-per-file",
5
- "max-depth",
6
- "max-lines-per-function",
7
- "max-lines",
8
- "max-nested-callbacks",
9
- "no-array-constructor",
10
- "no-case-declarations",
11
- "no-lonely-if",
12
- "no-object-constructor",
13
- "no-constructor-return",
14
- "no-else-return",
15
- "no-fallthrough",
16
- "no-inner-declarations",
17
- "no-negated-condition",
18
- "no-new-wrappers",
19
- "no-prototype-builtins",
20
- "no-redeclare",
21
- "no-self-compare",
22
- "no-throw-literal",
23
- "no-useless-return",
24
- "no-warning-comments",
25
- "radix",
26
- "require-await",
27
- "sort-vars",
28
- "symbol-description",
29
- "import/max-dependencies",
30
- "jest/no-conditional-in-test",
31
- "jsdoc/require-param",
32
- "jsdoc/require-param-description",
33
- "jsdoc/require-param-name",
34
- "jsdoc/require-param-type",
35
- "jsdoc/require-returns",
36
- "jsdoc/require-returns-description",
37
- "jsdoc/require-returns-type",
38
- "react/checked-requires-onchange-or-readonly",
39
- "react/jsx-no-target-blank",
40
- "react/jsx-no-useless-fragment",
41
- "react/no-unescaped-entities",
42
- "react-hooks/rules-of-hooks",
43
- "@typescript-eslint/ban-ts-comment",
44
- "@typescript-eslint/ban-types",
45
- "@typescript-eslint/no-misused-promises",
46
- "@typescript-eslint/no-confusing-void-expression",
47
- "@typescript-eslint/no-deprecated",
48
- "@typescript-eslint/no-mixed-enums",
49
- "@typescript-eslint/no-unsafe-argument",
50
- "@typescript-eslint/no-unsafe-assignment",
51
- "@typescript-eslint/no-unsafe-call",
52
- "@typescript-eslint/no-unsafe-function-type",
53
- "@typescript-eslint/no-unsafe-member-access",
54
- "@typescript-eslint/no-unsafe-return",
55
- "@typescript-eslint/only-throw-error",
56
- "@typescript-eslint/prefer-enum-initializers",
57
- "@typescript-eslint/prefer-includes",
58
- "@typescript-eslint/prefer-promise-reject-errors",
59
- "@typescript-eslint/prefer-ts-expect-error",
60
- "@typescript-eslint/related-getter-setter-pairs",
61
- "@typescript-eslint/require-await",
62
- "@typescript-eslint/restrict-plus-operands",
63
- "@typescript-eslint/return-await",
64
- "@typescript-eslint/strict-boolean-expressions",
65
- "@typescript-eslint/switch-exhaustiveness-check",
66
- "unicorn/consistent-assert",
67
- "unicorn/consistent-empty-array-spread",
68
- "unicorn/escape-case",
69
- "unicorn/explicit-length-check",
70
- "unicorn/new-for-builtins",
71
- "unicorn/no-unnecessary-array-splice-count",
72
- "unicorn/no-array-callback-reference",
73
- "unicorn/no-unnecessary-array-flat-depth",
74
- "unicorn/no-unnecessary-slice-end",
75
- "unicorn/no-hex-escape",
76
- "unicorn/no-instanceof-array",
77
- "unicorn/no-lonely-if",
78
- "unicorn/no-negation-in-equality-check",
79
- "unicorn/no-new-buffer",
80
- "unicorn/no-object-as-default-parameter",
81
- "unicorn/no-static-only-class",
82
- "unicorn/no-this-assignment",
83
- "unicorn/no-typeof-undefined",
84
- "unicorn/no-unreadable-iife",
85
- "unicorn/no-useless-promise-resolve-reject",
86
- "unicorn/no-useless-switch-case",
87
- "unicorn/no-useless-undefined",
88
- "unicorn/prefer-top-level-await",
89
- "unicorn/prefer-at",
90
- "unicorn/prefer-array-flat",
91
- "unicorn/prefer-array-some",
92
- "unicorn/prefer-blob-reading-methods",
93
- "unicorn/prefer-code-point",
94
- "unicorn/prefer-date-now",
95
- "unicorn/prefer-dom-node-append",
96
- "unicorn/prefer-dom-node-dataset",
97
- "unicorn/prefer-dom-node-remove",
98
- "unicorn/prefer-event-target",
99
- "unicorn/prefer-math-min-max",
100
- "unicorn/prefer-math-trunc",
101
- "unicorn/prefer-native-coercion-functions",
102
- "unicorn/prefer-prototype-methods",
103
- "unicorn/prefer-query-selector",
104
- "unicorn/prefer-regexp-test",
105
- "unicorn/prefer-string-replace-all",
106
- "unicorn/prefer-string-slice",
107
- "unicorn/prefer-type-error",
108
- "unicorn/require-number-to-fixed-digits-argument",
109
- "@typescript-eslint/no-array-constructor",
110
- "unicorn/no-negated-condition",
111
- "@typescript-eslint/no-redeclare",
112
- "import-x/max-dependencies",
113
- "vitest/no-conditional-in-test"
114
- ];
115
- const styleRules = [
116
- "arrow-body-style",
117
- "curly",
118
- "default-case-last",
119
- "default-param-last",
120
- "func-style",
121
- "func-names",
122
- "grouped-accessor-pairs",
123
- "guard-for-in",
124
- "id-length",
125
- "init-declarations",
126
- "max-params",
127
- "new-cap",
128
- "no-useless-computed-key",
129
- "no-duplicate-imports",
130
- "no-extra-label",
131
- "no-labels",
132
- "no-lone-blocks",
133
- "no-multi-assign",
134
- "no-nested-ternary",
135
- "no-continue",
136
- "no-label-var",
137
- "no-magic-numbers",
138
- "no-multi-str",
139
- "no-new-func",
140
- "no-return-assign",
141
- "no-script-url",
142
- "no-template-curly-in-string",
143
- "no-ternary",
144
- "operator-assignment",
145
- "prefer-template",
146
- "prefer-destructuring",
147
- "prefer-promise-reject-errors",
148
- "prefer-exponentiation-operator",
149
- "prefer-numeric-literals",
150
- "prefer-object-has-own",
151
- "prefer-object-spread",
152
- "prefer-rest-params",
153
- "prefer-spread",
154
- "sort-imports",
155
- "sort-keys",
156
- "vars-on-top",
157
- "yoda",
158
- "import/consistent-type-specifier-style",
159
- "import/exports-last",
160
- "import/first",
161
- "import/group-exports",
162
- "import/no-named-export",
163
- "import/no-anonymous-default-export",
164
- "import/no-mutable-exports",
165
- "import/no-named-default",
166
- "import/no-namespace",
167
- "import/no-duplicates",
168
- "import/prefer-default-export",
169
- "jest/consistent-test-it",
170
- "jest/max-expects",
171
- "jest/max-nested-describe",
172
- "jest/no-alias-methods",
173
- "jest/no-confusing-set-timeout",
174
- "jest/no-deprecated-functions",
175
- "jest/no-done-callback",
176
- "jest/no-duplicate-hooks",
177
- "jest/no-hooks",
178
- "jest/no-identical-title",
179
- "jest/no-interpolation-in-snapshots",
180
- "jest/no-jasmine-globals",
181
- "jest/no-large-snapshots",
182
- "jest/no-mocks-import",
183
- "jest/no-restricted-jest-methods",
184
- "jest/no-restricted-matchers",
185
- "jest/no-test-prefixes",
186
- "jest/no-test-return-statement",
187
- "jest/no-untyped-mock-factory",
188
- "jest/padding-around-test-blocks",
189
- "jest/prefer-each",
190
- "jest/prefer-called-with",
191
- "jest/prefer-comparison-matcher",
192
- "jest/prefer-equality-matcher",
193
- "jest/prefer-expect-resolves",
194
- "jest/prefer-hooks-in-order",
195
- "jest/prefer-hooks-on-top",
196
- "jest/prefer-jest-mocked",
197
- "jest/prefer-lowercase-title",
198
- "jest/prefer-mock-promise-shorthand",
199
- "jest/prefer-spy-on",
200
- "jest/prefer-strict-equal",
201
- "jest/prefer-to-be",
202
- "jest/prefer-to-contain",
203
- "jest/prefer-to-have-length",
204
- "jest/prefer-todo",
205
- "jest/require-hook",
206
- "jest/require-top-level-describe",
207
- "node/no-exports-assign",
208
- "promise/avoid-new",
209
- "promise/no-return-wrap",
210
- "promise/no-nesting",
211
- "promise/param-names",
212
- "promise/prefer-catch",
213
- "promise/prefer-await-to-callbacks",
214
- "promise/prefer-await-to-then",
215
- "react/jsx-pascal-case",
216
- "react/jsx-fragments",
217
- "react/jsx-boolean-value",
218
- "react/jsx-curly-brace-presence",
219
- "react/jsx-handler-names",
220
- "react/no-set-state",
221
- "react/prefer-es6-class",
222
- "react/self-closing-comp",
223
- "react/state-in-constructor",
224
- "@typescript-eslint/adjacent-overload-signatures",
225
- "@typescript-eslint/array-type",
226
- "@typescript-eslint/ban-tslint-comment",
227
- "@typescript-eslint/consistent-generic-constructors",
228
- "@typescript-eslint/consistent-indexed-object-style",
229
- "@typescript-eslint/consistent-type-definitions",
230
- "@typescript-eslint/consistent-type-imports",
231
- "@typescript-eslint/no-inferrable-types",
232
- "@typescript-eslint/no-empty-interface",
233
- "@typescript-eslint/prefer-for-of",
234
- "@typescript-eslint/prefer-function-type",
235
- "@typescript-eslint/prefer-namespace-keyword",
236
- "@typescript-eslint/prefer-reduce-type-parameter",
237
- "@typescript-eslint/prefer-return-this-type",
238
- "unicorn/catch-error-name",
239
- "unicorn/consistent-date-clone",
240
- "unicorn/consistent-existence-index-check",
241
- "unicorn/empty-brace-spaces",
242
- "unicorn/error-message",
243
- "unicorn/filename-case",
244
- "unicorn/no-useless-collection-argument",
245
- "unicorn/no-array-method-this-argument",
246
- "unicorn/no-await-expression-member",
247
- "unicorn/no-console-spaces",
248
- "unicorn/no-nested-ternary",
249
- "unicorn/no-null",
250
- "unicorn/no-unreadable-array-destructuring",
251
- "unicorn/no-zero-fractions",
252
- "unicorn/number-literal-case",
253
- "unicorn/numeric-separators-style",
254
- "unicorn/prefer-classlist-toggle",
255
- "unicorn/prefer-class-fields",
256
- "unicorn/prefer-bigint-literals",
257
- "unicorn/prefer-response-static-json",
258
- "unicorn/prefer-global-this",
259
- "unicorn/prefer-object-from-entries",
260
- "unicorn/prefer-array-index-of",
261
- "unicorn/prefer-spread",
262
- "unicorn/prefer-dom-node-text-content",
263
- "unicorn/prefer-includes",
264
- "unicorn/prefer-logical-operator-over-ternary",
265
- "unicorn/prefer-modern-dom-apis",
266
- "unicorn/prefer-negative-index",
267
- "unicorn/prefer-optional-catch-binding",
268
- "unicorn/prefer-reflect-apply",
269
- "unicorn/prefer-string-raw",
270
- "unicorn/prefer-string-trim-start-end",
271
- "unicorn/prefer-structured-clone",
272
- "unicorn/require-array-join-separator",
273
- "unicorn/switch-case-braces",
274
- "unicorn/text-encoding-identifier-case",
275
- "unicorn/throw-new-error",
276
- "vitest/no-import-node-test",
277
- "vitest/prefer-to-be-falsy",
278
- "vitest/prefer-to-be-object",
279
- "vitest/prefer-to-be-truthy",
280
- "vue/define-emits-declaration",
281
- "vue/define-props-declaration",
282
- "vue/define-props-destructuring",
283
- "vue/require-typed-ref",
284
- "@typescript-eslint/default-param-last",
285
- "@typescript-eslint/init-declarations",
286
- "@typescript-eslint/max-params",
287
- "@typescript-eslint/no-magic-numbers",
288
- "import-x/consistent-type-specifier-style",
289
- "import-x/exports-last",
290
- "import-x/first",
291
- "import-x/group-exports",
292
- "import-x/no-named-export",
293
- "import-x/no-anonymous-default-export",
294
- "import-x/no-mutable-exports",
295
- "import-x/no-named-default",
296
- "import-x/no-namespace",
297
- "import-x/no-duplicates",
298
- "import-x/prefer-default-export",
299
- "vitest/consistent-test-it",
300
- "vitest/max-expects",
301
- "vitest/max-nested-describe",
302
- "vitest/no-alias-methods",
303
- "vitest/no-duplicate-hooks",
304
- "vitest/no-hooks",
305
- "vitest/no-identical-title",
306
- "vitest/no-interpolation-in-snapshots",
307
- "vitest/no-restricted-jest-methods",
308
- "vitest/no-restricted-matchers",
309
- "vitest/no-test-prefixes",
310
- "vitest/no-test-return-statement",
311
- "vitest/prefer-each",
312
- "vitest/prefer-comparison-matcher",
313
- "vitest/prefer-equality-matcher",
314
- "vitest/prefer-expect-resolves",
315
- "vitest/prefer-hooks-in-order",
316
- "vitest/prefer-hooks-on-top",
317
- "vitest/prefer-lowercase-title",
318
- "vitest/prefer-mock-promise-shorthand",
319
- "vitest/prefer-strict-equal",
320
- "vitest/prefer-to-be",
321
- "vitest/prefer-to-have-length",
322
- "vitest/prefer-todo",
323
- "vitest/require-top-level-describe"
324
- ];
325
- const suspiciousRules = [
326
- "block-scoped-var",
327
- "no-extra-bind",
328
- "no-unneeded-ternary",
329
- "no-extend-native",
330
- "no-new",
331
- "no-unexpected-multiline",
332
- "no-useless-concat",
333
- "no-useless-constructor",
334
- "preserve-caught-error",
335
- "import/no-unassigned-import",
336
- "import/no-empty-named-blocks",
337
- "import/no-absolute-path",
338
- "import/no-named-as-default",
339
- "import/no-named-as-default-member",
340
- "import/no-self-import",
341
- "jest/no-commented-out-tests",
342
- "promise/always-return",
343
- "promise/no-promise-in-callback",
344
- "promise/no-multiple-resolved",
345
- "react/iframe-missing-sandbox",
346
- "react/jsx-no-comment-textnodes",
347
- "react/jsx-no-script-url",
348
- "react/no-namespace",
349
- "react/react-in-jsx-scope",
350
- "react/style-prop-object",
351
- "@typescript-eslint/no-confusing-non-null-assertion",
352
- "@typescript-eslint/no-extraneous-class",
353
- "@typescript-eslint/no-unnecessary-boolean-literal-compare",
354
- "@typescript-eslint/no-unnecessary-template-expression",
355
- "@typescript-eslint/no-unnecessary-type-arguments",
356
- "@typescript-eslint/no-unnecessary-type-assertion",
357
- "@typescript-eslint/no-unnecessary-type-constraint",
358
- "@typescript-eslint/no-unsafe-enum-comparison",
359
- "@typescript-eslint/no-unsafe-type-assertion",
360
- "unicorn/consistent-function-scoping",
361
- "unicorn/no-array-sort",
362
- "unicorn/no-array-reverse",
363
- "unicorn/no-instanceof-builtins",
364
- "unicorn/no-accessor-recursion",
365
- "unicorn/prefer-add-event-listener",
366
- "unicorn/require-module-specifiers",
367
- "unicorn/require-post-message-target-origin",
368
- "vue/no-required-prop-with-default",
369
- "vue/require-default-export",
370
- "@typescript-eslint/no-useless-constructor",
371
- "import-x/no-unassigned-import",
372
- "import-x/no-empty-named-blocks",
373
- "import-x/no-absolute-path",
374
- "import-x/no-named-as-default",
375
- "import-x/no-named-as-default-member",
376
- "import-x/no-self-import",
377
- "vitest/no-commented-out-tests"
378
- ];
379
- const restrictionRules = [
380
- "class-methods-use-this",
381
- "default-case",
382
- "no-alert",
383
- "no-bitwise",
384
- "no-param-reassign",
385
- "no-restricted-imports",
386
- "no-console",
387
- "no-div-regex",
388
- "no-empty-function",
389
- "no-empty",
390
- "no-eq-null",
391
- "no-iterator",
392
- "no-plusplus",
393
- "no-proto",
394
- "no-regex-spaces",
395
- "no-restricted-globals",
396
- "no-undefined",
397
- "no-var",
398
- "no-void",
399
- "unicode-bom",
400
- "import/extensions",
401
- "import/no-amd",
402
- "import/no-commonjs",
403
- "import/no-cycle",
404
- "import/no-default-export",
405
- "import/no-dynamic-require",
406
- "import/no-webpack-loader-syntax",
407
- "import/unambiguous",
408
- "jsdoc/check-access",
409
- "jsdoc/empty-tags",
410
- "jsx-a11y/anchor-ambiguous-text",
411
- "node/no-process-env",
412
- "node/no-new-require",
413
- "promise/catch-or-return",
414
- "promise/spec-only",
415
- "react/button-has-type",
416
- "react/forbid-dom-props",
417
- "react/forbid-elements",
418
- "react/jsx-filename-extension",
419
- "react/no-danger",
420
- "react/no-unknown-property",
421
- "react/only-export-components",
422
- "@typescript-eslint/explicit-module-boundary-types",
423
- "@typescript-eslint/explicit-function-return-type",
424
- "@typescript-eslint/no-dynamic-delete",
425
- "@typescript-eslint/no-empty-object-type",
426
- "@typescript-eslint/no-explicit-any",
427
- "@typescript-eslint/no-import-type-side-effects",
428
- "@typescript-eslint/no-namespace",
429
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing",
430
- "@typescript-eslint/no-non-null-assertion",
431
- "@typescript-eslint/no-require-imports",
432
- "@typescript-eslint/no-restricted-types",
433
- "@typescript-eslint/no-var-requires",
434
- "@typescript-eslint/non-nullable-type-assertion-style",
435
- "@typescript-eslint/prefer-literal-enum-member",
436
- "@typescript-eslint/promise-function-async",
437
- "@typescript-eslint/use-unknown-in-catch-callback-variable",
438
- "unicorn/no-useless-error-capture-stack-trace",
439
- "unicorn/no-abusive-eslint-disable",
440
- "unicorn/no-anonymous-default-export",
441
- "unicorn/no-array-for-each",
442
- "unicorn/no-array-reduce",
443
- "unicorn/no-document-cookie",
444
- "unicorn/no-length-as-slice-end",
445
- "unicorn/no-magic-array-flat-depth",
446
- "unicorn/no-process-exit",
447
- "unicorn/prefer-modern-math-apis",
448
- "unicorn/prefer-node-protocol",
449
- "unicorn/prefer-number-properties",
450
- "vue/max-props",
451
- "vue/no-import-compiler-macros",
452
- "vue/no-multiple-slot-args",
453
- "@typescript-eslint/class-methods-use-this",
454
- "@typescript-eslint/no-restricted-imports",
455
- "@typescript-eslint/no-empty-function",
456
- "import-x/extensions",
457
- "import-x/no-amd",
458
- "import-x/no-commonjs",
459
- "import-x/no-cycle",
460
- "import-x/no-default-export",
461
- "import-x/no-dynamic-require",
462
- "import-x/no-webpack-loader-syntax",
463
- "import-x/unambiguous"
464
- ];
465
- const nurseryRules = [
466
- "constructor-super",
467
- "getter-return",
468
- "no-misleading-character-class",
469
- "no-undef",
470
- "no-unreachable",
471
- "import/export",
472
- "import/named",
473
- "promise/no-return-in-finally",
474
- "react/require-render-return",
475
- "import-x/export",
476
- "import-x/named"
477
- ];
478
- const correctnessRules = [
479
- "for-direction",
480
- "no-unassigned-vars",
481
- "no-async-promise-executor",
482
- "no-caller",
483
- "no-class-assign",
484
- "no-useless-backreference",
485
- "no-compare-neg-zero",
486
- "no-cond-assign",
487
- "no-const-assign",
488
- "no-constant-binary-expression",
489
- "no-constant-condition",
490
- "no-control-regex",
491
- "no-debugger",
492
- "no-delete-var",
493
- "no-dupe-class-members",
494
- "no-dupe-else-if",
495
- "no-dupe-keys",
496
- "no-duplicate-case",
497
- "no-empty-character-class",
498
- "no-empty-pattern",
499
- "no-empty-static-block",
500
- "no-eval",
501
- "no-ex-assign",
502
- "no-extra-boolean-cast",
503
- "no-func-assign",
504
- "no-global-assign",
505
- "no-import-assign",
506
- "no-invalid-regexp",
507
- "no-irregular-whitespace",
508
- "no-loss-of-precision",
509
- "no-new-native-nonconstructor",
510
- "no-nonoctal-decimal-escape",
511
- "no-obj-calls",
512
- "no-self-assign",
513
- "no-setter-return",
514
- "no-shadow-restricted-names",
515
- "no-sparse-arrays",
516
- "no-this-before-super",
517
- "no-unsafe-finally",
518
- "no-unsafe-negation",
519
- "no-unsafe-optional-chaining",
520
- "no-unused-expressions",
521
- "no-unused-labels",
522
- "no-unused-private-class-members",
523
- "no-unused-vars",
524
- "no-useless-catch",
525
- "no-useless-escape",
526
- "no-useless-rename",
527
- "no-with",
528
- "require-yield",
529
- "use-isnan",
530
- "valid-typeof",
531
- "import/default",
532
- "import/namespace",
533
- "jest/expect-expect",
534
- "jest/no-conditional-expect",
535
- "jest/no-disabled-tests",
536
- "jest/no-export",
537
- "jest/no-focused-tests",
538
- "jest/no-standalone-expect",
539
- "jest/require-to-throw-message",
540
- "jest/valid-describe-callback",
541
- "jest/valid-expect",
542
- "jest/valid-title",
543
- "jsdoc/check-property-names",
544
- "jsdoc/check-tag-names",
545
- "jsdoc/implements-on-classes",
546
- "jsdoc/no-defaults",
547
- "jsdoc/require-property",
548
- "jsdoc/require-property-description",
549
- "jsdoc/require-property-name",
550
- "jsdoc/require-property-type",
551
- "jsdoc/require-yields",
552
- "jsx-a11y/alt-text",
553
- "jsx-a11y/anchor-has-content",
554
- "jsx-a11y/anchor-is-valid",
555
- "jsx-a11y/aria-activedescendant-has-tabindex",
556
- "jsx-a11y/aria-props",
557
- "jsx-a11y/aria-role",
558
- "jsx-a11y/aria-unsupported-elements",
559
- "jsx-a11y/autocomplete-valid",
560
- "jsx-a11y/click-events-have-key-events",
561
- "jsx-a11y/heading-has-content",
562
- "jsx-a11y/html-has-lang",
563
- "jsx-a11y/iframe-has-title",
564
- "jsx-a11y/img-redundant-alt",
565
- "jsx-a11y/label-has-associated-control",
566
- "jsx-a11y/lang",
567
- "jsx-a11y/media-has-caption",
568
- "jsx-a11y/mouse-events-have-key-events",
569
- "jsx-a11y/no-noninteractive-tabindex",
570
- "jsx-a11y/no-access-key",
571
- "jsx-a11y/no-aria-hidden-on-focusable",
572
- "jsx-a11y/no-autofocus",
573
- "jsx-a11y/no-distracting-elements",
574
- "jsx-a11y/no-redundant-roles",
575
- "jsx-a11y/prefer-tag-over-role",
576
- "jsx-a11y/role-has-required-aria-props",
577
- "jsx-a11y/role-supports-aria-props",
578
- "jsx-a11y/scope",
579
- "jsx-a11y/tabindex-no-positive",
580
- "@next/next/google-font-display",
581
- "@next/next/google-font-preconnect",
582
- "@next/next/inline-script-id",
583
- "@next/next/next-script-for-ga",
584
- "@next/next/no-assign-module-variable",
585
- "@next/next/no-async-client-component",
586
- "@next/next/no-before-interactive-script-outside-document",
587
- "@next/next/no-css-tags",
588
- "@next/next/no-document-import-in-page",
589
- "@next/next/no-duplicate-head",
590
- "@next/next/no-head-element",
591
- "@next/next/no-head-import-in-document",
592
- "@next/next/no-img-element",
593
- "@next/next/no-page-custom-font",
594
- "@next/next/no-script-component-in-head",
595
- "@next/next/no-styled-jsx-in-document",
596
- "@next/next/no-sync-scripts",
597
- "@next/next/no-title-in-document-head",
598
- "@next/next/no-typos",
599
- "@next/next/no-unwanted-polyfillio",
600
- "@next/next/no-html-link-for-pages",
601
- "promise/no-callback-in-promise",
602
- "promise/no-new-statics",
603
- "promise/valid-params",
604
- "react-hooks/exhaustive-deps",
605
- "react/forward-ref-uses-ref",
606
- "react/jsx-key",
607
- "react/jsx-no-duplicate-props",
608
- "react/jsx-no-undef",
609
- "react/jsx-props-no-spread-multi",
610
- "react/no-children-prop",
611
- "react/no-danger-with-children",
612
- "react/no-direct-mutation-state",
613
- "react/no-find-dom-node",
614
- "react/no-is-mounted",
615
- "react/no-render-return-value",
616
- "react/no-string-refs",
617
- "react/void-dom-elements-no-children",
618
- "@typescript-eslint/await-thenable",
619
- "@typescript-eslint/no-floating-promises",
620
- "@typescript-eslint/no-array-delete",
621
- "@typescript-eslint/no-base-to-string",
622
- "@typescript-eslint/no-duplicate-enum-values",
623
- "@typescript-eslint/no-duplicate-type-constituents",
624
- "@typescript-eslint/no-extra-non-null-assertion",
625
- "@typescript-eslint/no-for-in-array",
626
- "@typescript-eslint/no-implied-eval",
627
- "@typescript-eslint/no-meaningless-void-operator",
628
- "@typescript-eslint/no-misused-new",
629
- "@typescript-eslint/no-misused-spread",
630
- "@typescript-eslint/no-non-null-asserted-optional-chain",
631
- "@typescript-eslint/no-redundant-type-constituents",
632
- "@typescript-eslint/no-this-alias",
633
- "@typescript-eslint/no-unnecessary-parameter-property-assignment",
634
- "@typescript-eslint/no-unsafe-declaration-merging",
635
- "@typescript-eslint/no-unsafe-unary-minus",
636
- "@typescript-eslint/no-useless-empty-export",
637
- "@typescript-eslint/no-wrapper-object-types",
638
- "@typescript-eslint/prefer-as-const",
639
- "@typescript-eslint/require-array-sort-compare",
640
- "@typescript-eslint/restrict-template-expressions",
641
- "@typescript-eslint/triple-slash-reference",
642
- "@typescript-eslint/unbound-method",
643
- "unicorn/no-invalid-fetch-options",
644
- "unicorn/no-await-in-promise-methods",
645
- "unicorn/no-empty-file",
646
- "unicorn/no-invalid-remove-event-listener",
647
- "unicorn/no-new-array",
648
- "unicorn/no-single-promise-in-promise-methods",
649
- "unicorn/no-thenable",
650
- "unicorn/no-unnecessary-await",
651
- "unicorn/no-useless-fallback-in-spread",
652
- "unicorn/no-useless-length-check",
653
- "unicorn/no-useless-spread",
654
- "unicorn/prefer-set-size",
655
- "unicorn/prefer-string-starts-ends-with",
656
- "vitest/no-conditional-tests",
657
- "vitest/require-local-test-context-for-concurrent-snapshots",
658
- "vue/no-export-in-script-setup",
659
- "vue/prefer-import-from-vue",
660
- "vue/valid-define-emits",
661
- "vue/valid-define-props",
662
- "@typescript-eslint/no-dupe-class-members",
663
- "@typescript-eslint/no-loss-of-precision",
664
- "@typescript-eslint/no-unused-expressions",
665
- "@typescript-eslint/no-unused-vars",
666
- "import-x/default",
667
- "import-x/namespace",
668
- "vitest/expect-expect",
669
- "vitest/no-conditional-expect",
670
- "vitest/no-disabled-tests",
671
- "vitest/no-focused-tests",
672
- "vitest/no-standalone-expect",
673
- "vitest/require-to-throw-message",
674
- "vitest/valid-describe-callback",
675
- "vitest/valid-expect"
676
- ];
677
- const perfRules = [
678
- "no-await-in-loop",
679
- "no-useless-call",
680
- "react/no-array-index-key",
681
- "react-perf/jsx-no-jsx-as-prop",
682
- "react-perf/jsx-no-new-array-as-prop",
683
- "react-perf/jsx-no-new-function-as-prop",
684
- "react-perf/jsx-no-new-object-as-prop",
685
- "unicorn/prefer-array-find",
686
- "unicorn/prefer-array-flat-map",
687
- "unicorn/prefer-set-has"
688
- ];
689
- export {
690
- correctnessRules,
691
- nurseryRules,
692
- pedanticRules,
693
- perfRules,
694
- restrictionRules,
695
- styleRules,
696
- suspiciousRules
697
- };