@oxlint/migrate 1.64.0 → 1.66.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as nurseryRules, i as buildUnsupportedRuleExplanations, n as preFixForJsPlugins, o as rules_exports, r as isOffValue, s as normalizeRuleToCanonical, t as main } from "../src-
|
|
2
|
+
import { a as nurseryRules, i as buildUnsupportedRuleExplanations, n as preFixForJsPlugins, o as rules_exports, r as isOffValue, s as normalizeRuleToCanonical, t as main } from "../src-IOFYZ1gX.mjs";
|
|
3
3
|
import { program } from "commander";
|
|
4
4
|
import { existsSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -30,7 +30,7 @@ const loadESLintConfig = async (filePath) => {
|
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region package.json
|
|
33
|
-
var version = "1.
|
|
33
|
+
var version = "1.66.0";
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/walker/comments/replaceRuleDirectiveComment.ts
|
|
36
36
|
const allRulesSet = new Set(Object.values(rules_exports).flat());
|
package/dist/src/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/oxlint@1.
|
|
1
|
+
//#region node_modules/.pnpm/oxlint@1.66.0_oxlint-tsgolint@0.22.1/node_modules/oxlint/dist/index.d.ts
|
|
2
2
|
//#region src-js/package/config.generated.d.ts
|
|
3
3
|
type AllowWarnDeny = ("allow" | "off" | "warn" | "error" | "deny") | number;
|
|
4
4
|
type GlobalValue = "readonly" | "writable" | "off";
|
|
@@ -15,7 +15,7 @@ type ExternalPluginEntry = string | {
|
|
|
15
15
|
* - jsdoc
|
|
16
16
|
* - jest
|
|
17
17
|
* - vitest
|
|
18
|
-
* - jsx-a11y
|
|
18
|
+
* - jsx-a11y (includes jsx-a11y-x)
|
|
19
19
|
* - nextjs
|
|
20
20
|
* - react-perf
|
|
21
21
|
* - promise
|
|
@@ -482,6 +482,807 @@ interface OxlintOverride {
|
|
|
482
482
|
* See [Oxlint Rules](https://oxc.rs/docs/guide/usage/linter/rules.html)
|
|
483
483
|
*/
|
|
484
484
|
interface DummyRuleMap {
|
|
485
|
+
"accessor-pairs"?: DummyRule;
|
|
486
|
+
"array-callback-return"?: DummyRule;
|
|
487
|
+
"arrow-body-style"?: DummyRule;
|
|
488
|
+
"block-scoped-var"?: DummyRule;
|
|
489
|
+
"capitalized-comments"?: DummyRule;
|
|
490
|
+
"class-methods-use-this"?: DummyRule;
|
|
491
|
+
complexity?: DummyRule;
|
|
492
|
+
"constructor-super"?: DummyRule;
|
|
493
|
+
curly?: DummyRule;
|
|
494
|
+
"default-case"?: DummyRule;
|
|
495
|
+
"default-case-last"?: DummyRule;
|
|
496
|
+
"default-param-last"?: DummyRule;
|
|
497
|
+
eqeqeq?: DummyRule;
|
|
498
|
+
"for-direction"?: DummyRule;
|
|
499
|
+
"func-name-matching"?: DummyRule;
|
|
500
|
+
"func-names"?: DummyRule;
|
|
501
|
+
"func-style"?: DummyRule;
|
|
502
|
+
"getter-return"?: DummyRule;
|
|
503
|
+
"grouped-accessor-pairs"?: DummyRule;
|
|
504
|
+
"guard-for-in"?: DummyRule;
|
|
505
|
+
"id-length"?: DummyRule;
|
|
506
|
+
"id-match"?: DummyRule;
|
|
507
|
+
"import/consistent-type-specifier-style"?: DummyRule;
|
|
508
|
+
"import/default"?: DummyRule;
|
|
509
|
+
"import/export"?: DummyRule;
|
|
510
|
+
"import/exports-last"?: DummyRule;
|
|
511
|
+
"import/extensions"?: DummyRule;
|
|
512
|
+
"import/first"?: DummyRule;
|
|
513
|
+
"import/group-exports"?: DummyRule;
|
|
514
|
+
"import/max-dependencies"?: DummyRule;
|
|
515
|
+
"import/named"?: DummyRule;
|
|
516
|
+
"import/namespace"?: DummyRule;
|
|
517
|
+
"import/newline-after-import"?: DummyRule;
|
|
518
|
+
"import/no-absolute-path"?: DummyRule;
|
|
519
|
+
"import/no-amd"?: DummyRule;
|
|
520
|
+
"import/no-anonymous-default-export"?: DummyRule;
|
|
521
|
+
"import/no-commonjs"?: DummyRule;
|
|
522
|
+
"import/no-cycle"?: DummyRule;
|
|
523
|
+
"import/no-default-export"?: DummyRule;
|
|
524
|
+
"import/no-duplicates"?: DummyRule;
|
|
525
|
+
"import/no-dynamic-require"?: DummyRule;
|
|
526
|
+
"import/no-empty-named-blocks"?: DummyRule;
|
|
527
|
+
"import/no-mutable-exports"?: DummyRule;
|
|
528
|
+
"import/no-named-as-default"?: DummyRule;
|
|
529
|
+
"import/no-named-as-default-member"?: DummyRule;
|
|
530
|
+
"import/no-named-default"?: DummyRule;
|
|
531
|
+
"import/no-named-export"?: DummyRule;
|
|
532
|
+
"import/no-namespace"?: DummyRule;
|
|
533
|
+
"import/no-nodejs-modules"?: DummyRule;
|
|
534
|
+
"import/no-relative-parent-imports"?: DummyRule;
|
|
535
|
+
"import/no-self-import"?: DummyRule;
|
|
536
|
+
"import/no-unassigned-import"?: DummyRule;
|
|
537
|
+
"import/no-webpack-loader-syntax"?: DummyRule;
|
|
538
|
+
"import/prefer-default-export"?: DummyRule;
|
|
539
|
+
"import/unambiguous"?: DummyRule;
|
|
540
|
+
"init-declarations"?: DummyRule;
|
|
541
|
+
"jest/consistent-test-it"?: DummyRule;
|
|
542
|
+
"jest/expect-expect"?: DummyRule;
|
|
543
|
+
"jest/max-expects"?: DummyRule;
|
|
544
|
+
"jest/max-nested-describe"?: DummyRule;
|
|
545
|
+
"jest/no-alias-methods"?: DummyRule;
|
|
546
|
+
"jest/no-commented-out-tests"?: DummyRule;
|
|
547
|
+
"jest/no-conditional-expect"?: DummyRule;
|
|
548
|
+
"jest/no-conditional-in-test"?: DummyRule;
|
|
549
|
+
"jest/no-confusing-set-timeout"?: DummyRule;
|
|
550
|
+
"jest/no-deprecated-functions"?: DummyRule;
|
|
551
|
+
"jest/no-disabled-tests"?: DummyRule;
|
|
552
|
+
"jest/no-done-callback"?: DummyRule;
|
|
553
|
+
"jest/no-duplicate-hooks"?: DummyRule;
|
|
554
|
+
"jest/no-export"?: DummyRule;
|
|
555
|
+
"jest/no-focused-tests"?: DummyRule;
|
|
556
|
+
"jest/no-hooks"?: DummyRule;
|
|
557
|
+
"jest/no-identical-title"?: DummyRule;
|
|
558
|
+
"jest/no-interpolation-in-snapshots"?: DummyRule;
|
|
559
|
+
"jest/no-jasmine-globals"?: DummyRule;
|
|
560
|
+
"jest/no-large-snapshots"?: DummyRule;
|
|
561
|
+
"jest/no-mocks-import"?: DummyRule;
|
|
562
|
+
"jest/no-restricted-jest-methods"?: DummyRule;
|
|
563
|
+
"jest/no-restricted-matchers"?: DummyRule;
|
|
564
|
+
"jest/no-standalone-expect"?: DummyRule;
|
|
565
|
+
"jest/no-test-prefixes"?: DummyRule;
|
|
566
|
+
"jest/no-test-return-statement"?: DummyRule;
|
|
567
|
+
"jest/no-unneeded-async-expect-function"?: DummyRule;
|
|
568
|
+
"jest/no-untyped-mock-factory"?: DummyRule;
|
|
569
|
+
"jest/padding-around-after-all-blocks"?: DummyRule;
|
|
570
|
+
"jest/padding-around-test-blocks"?: DummyRule;
|
|
571
|
+
"jest/prefer-called-with"?: DummyRule;
|
|
572
|
+
"jest/prefer-comparison-matcher"?: DummyRule;
|
|
573
|
+
"jest/prefer-each"?: DummyRule;
|
|
574
|
+
"jest/prefer-ending-with-an-expect"?: DummyRule;
|
|
575
|
+
"jest/prefer-equality-matcher"?: DummyRule;
|
|
576
|
+
"jest/prefer-expect-assertions"?: DummyRule;
|
|
577
|
+
"jest/prefer-expect-resolves"?: DummyRule;
|
|
578
|
+
"jest/prefer-hooks-in-order"?: DummyRule;
|
|
579
|
+
"jest/prefer-hooks-on-top"?: DummyRule;
|
|
580
|
+
"jest/prefer-importing-jest-globals"?: DummyRule;
|
|
581
|
+
"jest/prefer-jest-mocked"?: DummyRule;
|
|
582
|
+
"jest/prefer-lowercase-title"?: DummyRule;
|
|
583
|
+
"jest/prefer-mock-promise-shorthand"?: DummyRule;
|
|
584
|
+
"jest/prefer-mock-return-shorthand"?: DummyRule;
|
|
585
|
+
"jest/prefer-snapshot-hint"?: DummyRule;
|
|
586
|
+
"jest/prefer-spy-on"?: DummyRule;
|
|
587
|
+
"jest/prefer-strict-equal"?: DummyRule;
|
|
588
|
+
"jest/prefer-to-be"?: DummyRule;
|
|
589
|
+
"jest/prefer-to-contain"?: DummyRule;
|
|
590
|
+
"jest/prefer-to-have-been-called"?: DummyRule;
|
|
591
|
+
"jest/prefer-to-have-been-called-times"?: DummyRule;
|
|
592
|
+
"jest/prefer-to-have-length"?: DummyRule;
|
|
593
|
+
"jest/prefer-todo"?: DummyRule;
|
|
594
|
+
"jest/require-hook"?: DummyRule;
|
|
595
|
+
"jest/require-to-throw-message"?: DummyRule;
|
|
596
|
+
"jest/require-top-level-describe"?: DummyRule;
|
|
597
|
+
"jest/valid-describe-callback"?: DummyRule;
|
|
598
|
+
"jest/valid-expect"?: DummyRule;
|
|
599
|
+
"jest/valid-expect-in-promise"?: DummyRule;
|
|
600
|
+
"jest/valid-title"?: DummyRule;
|
|
601
|
+
"jsdoc/check-access"?: DummyRule;
|
|
602
|
+
"jsdoc/check-property-names"?: DummyRule;
|
|
603
|
+
"jsdoc/check-tag-names"?: DummyRule;
|
|
604
|
+
"jsdoc/empty-tags"?: DummyRule;
|
|
605
|
+
"jsdoc/implements-on-classes"?: DummyRule;
|
|
606
|
+
"jsdoc/no-defaults"?: DummyRule;
|
|
607
|
+
"jsdoc/require-param"?: DummyRule;
|
|
608
|
+
"jsdoc/require-param-description"?: DummyRule;
|
|
609
|
+
"jsdoc/require-param-name"?: DummyRule;
|
|
610
|
+
"jsdoc/require-param-type"?: DummyRule;
|
|
611
|
+
"jsdoc/require-property"?: DummyRule;
|
|
612
|
+
"jsdoc/require-property-description"?: DummyRule;
|
|
613
|
+
"jsdoc/require-property-name"?: DummyRule;
|
|
614
|
+
"jsdoc/require-property-type"?: DummyRule;
|
|
615
|
+
"jsdoc/require-returns"?: DummyRule;
|
|
616
|
+
"jsdoc/require-returns-description"?: DummyRule;
|
|
617
|
+
"jsdoc/require-returns-type"?: DummyRule;
|
|
618
|
+
"jsdoc/require-throws-description"?: DummyRule;
|
|
619
|
+
"jsdoc/require-throws-type"?: DummyRule;
|
|
620
|
+
"jsdoc/require-yields"?: DummyRule;
|
|
621
|
+
"jsdoc/require-yields-type"?: DummyRule;
|
|
622
|
+
"jsx-a11y/alt-text"?: DummyRule;
|
|
623
|
+
"jsx-a11y/anchor-ambiguous-text"?: DummyRule;
|
|
624
|
+
"jsx-a11y/anchor-has-content"?: DummyRule;
|
|
625
|
+
"jsx-a11y/anchor-is-valid"?: DummyRule;
|
|
626
|
+
"jsx-a11y/aria-activedescendant-has-tabindex"?: DummyRule;
|
|
627
|
+
"jsx-a11y/aria-props"?: DummyRule;
|
|
628
|
+
"jsx-a11y/aria-proptypes"?: DummyRule;
|
|
629
|
+
"jsx-a11y/aria-role"?: DummyRule;
|
|
630
|
+
"jsx-a11y/aria-unsupported-elements"?: DummyRule;
|
|
631
|
+
"jsx-a11y/autocomplete-valid"?: DummyRule;
|
|
632
|
+
"jsx-a11y/click-events-have-key-events"?: DummyRule;
|
|
633
|
+
"jsx-a11y/control-has-associated-label"?: DummyRule;
|
|
634
|
+
"jsx-a11y/heading-has-content"?: DummyRule;
|
|
635
|
+
"jsx-a11y/html-has-lang"?: DummyRule;
|
|
636
|
+
"jsx-a11y/iframe-has-title"?: DummyRule;
|
|
637
|
+
"jsx-a11y/img-redundant-alt"?: DummyRule;
|
|
638
|
+
"jsx-a11y/interactive-supports-focus"?: DummyRule;
|
|
639
|
+
"jsx-a11y/label-has-associated-control"?: DummyRule;
|
|
640
|
+
"jsx-a11y/lang"?: DummyRule;
|
|
641
|
+
"jsx-a11y/media-has-caption"?: DummyRule;
|
|
642
|
+
"jsx-a11y/mouse-events-have-key-events"?: DummyRule;
|
|
643
|
+
"jsx-a11y/no-access-key"?: DummyRule;
|
|
644
|
+
"jsx-a11y/no-aria-hidden-on-focusable"?: DummyRule;
|
|
645
|
+
"jsx-a11y/no-autofocus"?: DummyRule;
|
|
646
|
+
"jsx-a11y/no-distracting-elements"?: DummyRule;
|
|
647
|
+
"jsx-a11y/no-interactive-element-to-noninteractive-role"?: DummyRule;
|
|
648
|
+
"jsx-a11y/no-noninteractive-element-interactions"?: DummyRule;
|
|
649
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role"?: DummyRule;
|
|
650
|
+
"jsx-a11y/no-noninteractive-tabindex"?: DummyRule;
|
|
651
|
+
"jsx-a11y/no-redundant-roles"?: DummyRule;
|
|
652
|
+
"jsx-a11y/no-static-element-interactions"?: DummyRule;
|
|
653
|
+
"jsx-a11y/prefer-tag-over-role"?: DummyRule;
|
|
654
|
+
"jsx-a11y/role-has-required-aria-props"?: DummyRule;
|
|
655
|
+
"jsx-a11y/role-supports-aria-props"?: DummyRule;
|
|
656
|
+
"jsx-a11y/scope"?: DummyRule;
|
|
657
|
+
"jsx-a11y/tabindex-no-positive"?: DummyRule;
|
|
658
|
+
"logical-assignment-operators"?: DummyRule;
|
|
659
|
+
"max-classes-per-file"?: DummyRule;
|
|
660
|
+
"max-depth"?: DummyRule;
|
|
661
|
+
"max-lines"?: DummyRule;
|
|
662
|
+
"max-lines-per-function"?: DummyRule;
|
|
663
|
+
"max-nested-callbacks"?: DummyRule;
|
|
664
|
+
"max-params"?: DummyRule;
|
|
665
|
+
"max-statements"?: DummyRule;
|
|
666
|
+
"new-cap"?: DummyRule;
|
|
667
|
+
"nextjs/google-font-display"?: DummyRule;
|
|
668
|
+
"nextjs/google-font-preconnect"?: DummyRule;
|
|
669
|
+
"nextjs/inline-script-id"?: DummyRule;
|
|
670
|
+
"nextjs/next-script-for-ga"?: DummyRule;
|
|
671
|
+
"nextjs/no-assign-module-variable"?: DummyRule;
|
|
672
|
+
"nextjs/no-async-client-component"?: DummyRule;
|
|
673
|
+
"nextjs/no-before-interactive-script-outside-document"?: DummyRule;
|
|
674
|
+
"nextjs/no-css-tags"?: DummyRule;
|
|
675
|
+
"nextjs/no-document-import-in-page"?: DummyRule;
|
|
676
|
+
"nextjs/no-duplicate-head"?: DummyRule;
|
|
677
|
+
"nextjs/no-head-element"?: DummyRule;
|
|
678
|
+
"nextjs/no-head-import-in-document"?: DummyRule;
|
|
679
|
+
"nextjs/no-html-link-for-pages"?: DummyRule;
|
|
680
|
+
"nextjs/no-img-element"?: DummyRule;
|
|
681
|
+
"nextjs/no-page-custom-font"?: DummyRule;
|
|
682
|
+
"nextjs/no-script-component-in-head"?: DummyRule;
|
|
683
|
+
"nextjs/no-styled-jsx-in-document"?: DummyRule;
|
|
684
|
+
"nextjs/no-sync-scripts"?: DummyRule;
|
|
685
|
+
"nextjs/no-title-in-document-head"?: DummyRule;
|
|
686
|
+
"nextjs/no-typos"?: DummyRule;
|
|
687
|
+
"nextjs/no-unwanted-polyfillio"?: DummyRule;
|
|
688
|
+
"no-alert"?: DummyRule;
|
|
689
|
+
"no-array-constructor"?: DummyRule;
|
|
690
|
+
"no-async-promise-executor"?: DummyRule;
|
|
691
|
+
"no-await-in-loop"?: DummyRule;
|
|
692
|
+
"no-bitwise"?: DummyRule;
|
|
693
|
+
"no-caller"?: DummyRule;
|
|
694
|
+
"no-case-declarations"?: DummyRule;
|
|
695
|
+
"no-class-assign"?: DummyRule;
|
|
696
|
+
"no-compare-neg-zero"?: DummyRule;
|
|
697
|
+
"no-cond-assign"?: DummyRule;
|
|
698
|
+
"no-console"?: DummyRule;
|
|
699
|
+
"no-const-assign"?: DummyRule;
|
|
700
|
+
"no-constant-binary-expression"?: DummyRule;
|
|
701
|
+
"no-constant-condition"?: DummyRule;
|
|
702
|
+
"no-constructor-return"?: DummyRule;
|
|
703
|
+
"no-continue"?: DummyRule;
|
|
704
|
+
"no-control-regex"?: DummyRule;
|
|
705
|
+
"no-debugger"?: DummyRule;
|
|
706
|
+
"no-delete-var"?: DummyRule;
|
|
707
|
+
"no-div-regex"?: DummyRule;
|
|
708
|
+
"no-dupe-class-members"?: DummyRule;
|
|
709
|
+
"no-dupe-else-if"?: DummyRule;
|
|
710
|
+
"no-dupe-keys"?: DummyRule;
|
|
711
|
+
"no-duplicate-case"?: DummyRule;
|
|
712
|
+
"no-duplicate-imports"?: DummyRule;
|
|
713
|
+
"no-else-return"?: DummyRule;
|
|
714
|
+
"no-empty"?: DummyRule;
|
|
715
|
+
"no-empty-character-class"?: DummyRule;
|
|
716
|
+
"no-empty-function"?: DummyRule;
|
|
717
|
+
"no-empty-pattern"?: DummyRule;
|
|
718
|
+
"no-empty-static-block"?: DummyRule;
|
|
719
|
+
"no-eq-null"?: DummyRule;
|
|
720
|
+
"no-eval"?: DummyRule;
|
|
721
|
+
"no-ex-assign"?: DummyRule;
|
|
722
|
+
"no-extend-native"?: DummyRule;
|
|
723
|
+
"no-extra-bind"?: DummyRule;
|
|
724
|
+
"no-extra-boolean-cast"?: DummyRule;
|
|
725
|
+
"no-extra-label"?: DummyRule;
|
|
726
|
+
"no-fallthrough"?: DummyRule;
|
|
727
|
+
"no-func-assign"?: DummyRule;
|
|
728
|
+
"no-global-assign"?: DummyRule;
|
|
729
|
+
"no-implicit-coercion"?: DummyRule;
|
|
730
|
+
"no-implicit-globals"?: DummyRule;
|
|
731
|
+
"no-implied-eval"?: DummyRule;
|
|
732
|
+
"no-import-assign"?: DummyRule;
|
|
733
|
+
"no-inline-comments"?: DummyRule;
|
|
734
|
+
"no-inner-declarations"?: DummyRule;
|
|
735
|
+
"no-invalid-regexp"?: DummyRule;
|
|
736
|
+
"no-irregular-whitespace"?: DummyRule;
|
|
737
|
+
"no-iterator"?: DummyRule;
|
|
738
|
+
"no-label-var"?: DummyRule;
|
|
739
|
+
"no-labels"?: DummyRule;
|
|
740
|
+
"no-lone-blocks"?: DummyRule;
|
|
741
|
+
"no-lonely-if"?: DummyRule;
|
|
742
|
+
"no-loop-func"?: DummyRule;
|
|
743
|
+
"no-loss-of-precision"?: DummyRule;
|
|
744
|
+
"no-magic-numbers"?: DummyRule;
|
|
745
|
+
"no-misleading-character-class"?: DummyRule;
|
|
746
|
+
"no-multi-assign"?: DummyRule;
|
|
747
|
+
"no-multi-str"?: DummyRule;
|
|
748
|
+
"no-negated-condition"?: DummyRule;
|
|
749
|
+
"no-nested-ternary"?: DummyRule;
|
|
750
|
+
"no-new"?: DummyRule;
|
|
751
|
+
"no-new-func"?: DummyRule;
|
|
752
|
+
"no-new-native-nonconstructor"?: DummyRule;
|
|
753
|
+
"no-new-wrappers"?: DummyRule;
|
|
754
|
+
"no-nonoctal-decimal-escape"?: DummyRule;
|
|
755
|
+
"no-obj-calls"?: DummyRule;
|
|
756
|
+
"no-object-constructor"?: DummyRule;
|
|
757
|
+
"no-param-reassign"?: DummyRule;
|
|
758
|
+
"no-plusplus"?: DummyRule;
|
|
759
|
+
"no-promise-executor-return"?: DummyRule;
|
|
760
|
+
"no-proto"?: DummyRule;
|
|
761
|
+
"no-prototype-builtins"?: DummyRule;
|
|
762
|
+
"no-redeclare"?: DummyRule;
|
|
763
|
+
"no-regex-spaces"?: DummyRule;
|
|
764
|
+
"no-restricted-exports"?: DummyRule;
|
|
765
|
+
"no-restricted-globals"?: DummyRule;
|
|
766
|
+
"no-restricted-imports"?: DummyRule;
|
|
767
|
+
"no-restricted-properties"?: DummyRule;
|
|
768
|
+
"no-return-assign"?: DummyRule;
|
|
769
|
+
"no-script-url"?: DummyRule;
|
|
770
|
+
"no-self-assign"?: DummyRule;
|
|
771
|
+
"no-self-compare"?: DummyRule;
|
|
772
|
+
"no-sequences"?: DummyRule;
|
|
773
|
+
"no-setter-return"?: DummyRule;
|
|
774
|
+
"no-shadow"?: DummyRule;
|
|
775
|
+
"no-shadow-restricted-names"?: DummyRule;
|
|
776
|
+
"no-sparse-arrays"?: DummyRule;
|
|
777
|
+
"no-template-curly-in-string"?: DummyRule;
|
|
778
|
+
"no-ternary"?: DummyRule;
|
|
779
|
+
"no-this-before-super"?: DummyRule;
|
|
780
|
+
"no-throw-literal"?: DummyRule;
|
|
781
|
+
"no-unassigned-vars"?: DummyRule;
|
|
782
|
+
"no-undef"?: DummyRule;
|
|
783
|
+
"no-undefined"?: DummyRule;
|
|
784
|
+
"no-underscore-dangle"?: DummyRule;
|
|
785
|
+
"no-unexpected-multiline"?: DummyRule;
|
|
786
|
+
"no-unmodified-loop-condition"?: DummyRule;
|
|
787
|
+
"no-unneeded-ternary"?: DummyRule;
|
|
788
|
+
"no-unreachable"?: DummyRule;
|
|
789
|
+
"no-unsafe-finally"?: DummyRule;
|
|
790
|
+
"no-unsafe-negation"?: DummyRule;
|
|
791
|
+
"no-unsafe-optional-chaining"?: DummyRule;
|
|
792
|
+
"no-unused-expressions"?: DummyRule;
|
|
793
|
+
"no-unused-labels"?: DummyRule;
|
|
794
|
+
"no-unused-private-class-members"?: DummyRule;
|
|
795
|
+
"no-unused-vars"?: DummyRule;
|
|
796
|
+
"no-use-before-define"?: DummyRule;
|
|
797
|
+
"no-useless-assignment"?: DummyRule;
|
|
798
|
+
"no-useless-backreference"?: DummyRule;
|
|
799
|
+
"no-useless-call"?: DummyRule;
|
|
800
|
+
"no-useless-catch"?: DummyRule;
|
|
801
|
+
"no-useless-computed-key"?: DummyRule;
|
|
802
|
+
"no-useless-concat"?: DummyRule;
|
|
803
|
+
"no-useless-constructor"?: DummyRule;
|
|
804
|
+
"no-useless-escape"?: DummyRule;
|
|
805
|
+
"no-useless-rename"?: DummyRule;
|
|
806
|
+
"no-useless-return"?: DummyRule;
|
|
807
|
+
"no-var"?: DummyRule;
|
|
808
|
+
"no-void"?: DummyRule;
|
|
809
|
+
"no-warning-comments"?: DummyRule;
|
|
810
|
+
"no-with"?: DummyRule;
|
|
811
|
+
"node/global-require"?: DummyRule;
|
|
812
|
+
"node/handle-callback-err"?: DummyRule;
|
|
813
|
+
"node/no-exports-assign"?: DummyRule;
|
|
814
|
+
"node/no-new-require"?: DummyRule;
|
|
815
|
+
"node/no-path-concat"?: DummyRule;
|
|
816
|
+
"node/no-process-env"?: DummyRule;
|
|
817
|
+
"object-shorthand"?: DummyRule;
|
|
818
|
+
"operator-assignment"?: DummyRule;
|
|
819
|
+
"oxc/approx-constant"?: DummyRule;
|
|
820
|
+
"oxc/bad-array-method-on-arguments"?: DummyRule;
|
|
821
|
+
"oxc/bad-bitwise-operator"?: DummyRule;
|
|
822
|
+
"oxc/bad-char-at-comparison"?: DummyRule;
|
|
823
|
+
"oxc/bad-comparison-sequence"?: DummyRule;
|
|
824
|
+
"oxc/bad-min-max-func"?: DummyRule;
|
|
825
|
+
"oxc/bad-object-literal-comparison"?: DummyRule;
|
|
826
|
+
"oxc/bad-replace-all-arg"?: DummyRule;
|
|
827
|
+
"oxc/branches-sharing-code"?: DummyRule;
|
|
828
|
+
"oxc/const-comparisons"?: DummyRule;
|
|
829
|
+
"oxc/double-comparisons"?: DummyRule;
|
|
830
|
+
"oxc/erasing-op"?: DummyRule;
|
|
831
|
+
"oxc/misrefactored-assign-op"?: DummyRule;
|
|
832
|
+
"oxc/missing-throw"?: DummyRule;
|
|
833
|
+
"oxc/no-accumulating-spread"?: DummyRule;
|
|
834
|
+
"oxc/no-async-await"?: DummyRule;
|
|
835
|
+
"oxc/no-async-endpoint-handlers"?: DummyRule;
|
|
836
|
+
"oxc/no-barrel-file"?: DummyRule;
|
|
837
|
+
"oxc/no-const-enum"?: DummyRule;
|
|
838
|
+
"oxc/no-map-spread"?: DummyRule;
|
|
839
|
+
"oxc/no-optional-chaining"?: DummyRule;
|
|
840
|
+
"oxc/no-rest-spread-properties"?: DummyRule;
|
|
841
|
+
"oxc/no-this-in-exported-function"?: DummyRule;
|
|
842
|
+
"oxc/number-arg-out-of-range"?: DummyRule;
|
|
843
|
+
"oxc/only-used-in-recursion"?: DummyRule;
|
|
844
|
+
"oxc/uninvoked-array-callback"?: DummyRule;
|
|
845
|
+
"prefer-arrow-callback"?: DummyRule;
|
|
846
|
+
"prefer-const"?: DummyRule;
|
|
847
|
+
"prefer-destructuring"?: DummyRule;
|
|
848
|
+
"prefer-exponentiation-operator"?: DummyRule;
|
|
849
|
+
"prefer-numeric-literals"?: DummyRule;
|
|
850
|
+
"prefer-object-has-own"?: DummyRule;
|
|
851
|
+
"prefer-object-spread"?: DummyRule;
|
|
852
|
+
"prefer-promise-reject-errors"?: DummyRule;
|
|
853
|
+
"prefer-regex-literals"?: DummyRule;
|
|
854
|
+
"prefer-rest-params"?: DummyRule;
|
|
855
|
+
"prefer-spread"?: DummyRule;
|
|
856
|
+
"prefer-template"?: DummyRule;
|
|
857
|
+
"preserve-caught-error"?: DummyRule;
|
|
858
|
+
"promise/always-return"?: DummyRule;
|
|
859
|
+
"promise/avoid-new"?: DummyRule;
|
|
860
|
+
"promise/catch-or-return"?: DummyRule;
|
|
861
|
+
"promise/no-callback-in-promise"?: DummyRule;
|
|
862
|
+
"promise/no-multiple-resolved"?: DummyRule;
|
|
863
|
+
"promise/no-nesting"?: DummyRule;
|
|
864
|
+
"promise/no-new-statics"?: DummyRule;
|
|
865
|
+
"promise/no-promise-in-callback"?: DummyRule;
|
|
866
|
+
"promise/no-return-in-finally"?: DummyRule;
|
|
867
|
+
"promise/no-return-wrap"?: DummyRule;
|
|
868
|
+
"promise/param-names"?: DummyRule;
|
|
869
|
+
"promise/prefer-await-to-callbacks"?: DummyRule;
|
|
870
|
+
"promise/prefer-await-to-then"?: DummyRule;
|
|
871
|
+
"promise/prefer-catch"?: DummyRule;
|
|
872
|
+
"promise/spec-only"?: DummyRule;
|
|
873
|
+
"promise/valid-params"?: DummyRule;
|
|
874
|
+
radix?: DummyRule;
|
|
875
|
+
"react-perf/jsx-no-jsx-as-prop"?: DummyRule;
|
|
876
|
+
"react-perf/jsx-no-new-array-as-prop"?: DummyRule;
|
|
877
|
+
"react-perf/jsx-no-new-function-as-prop"?: DummyRule;
|
|
878
|
+
"react-perf/jsx-no-new-object-as-prop"?: DummyRule;
|
|
879
|
+
"react/button-has-type"?: DummyRule;
|
|
880
|
+
"react/checked-requires-onchange-or-readonly"?: DummyRule;
|
|
881
|
+
"react/display-name"?: DummyRule;
|
|
882
|
+
"react/exhaustive-deps"?: DummyRule;
|
|
883
|
+
"react/forbid-component-props"?: DummyRule;
|
|
884
|
+
"react/forbid-dom-props"?: DummyRule;
|
|
885
|
+
"react/forbid-elements"?: DummyRule;
|
|
886
|
+
"react/forward-ref-uses-ref"?: DummyRule;
|
|
887
|
+
"react/hook-use-state"?: DummyRule;
|
|
888
|
+
"react/iframe-missing-sandbox"?: DummyRule;
|
|
889
|
+
"react/jsx-boolean-value"?: DummyRule;
|
|
890
|
+
"react/jsx-curly-brace-presence"?: DummyRule;
|
|
891
|
+
"react/jsx-filename-extension"?: DummyRule;
|
|
892
|
+
"react/jsx-fragments"?: DummyRule;
|
|
893
|
+
"react/jsx-handler-names"?: DummyRule;
|
|
894
|
+
"react/jsx-key"?: DummyRule;
|
|
895
|
+
"react/jsx-max-depth"?: DummyRule;
|
|
896
|
+
"react/jsx-no-comment-textnodes"?: DummyRule;
|
|
897
|
+
"react/jsx-no-constructed-context-values"?: DummyRule;
|
|
898
|
+
"react/jsx-no-duplicate-props"?: DummyRule;
|
|
899
|
+
"react/jsx-no-script-url"?: DummyRule;
|
|
900
|
+
"react/jsx-no-target-blank"?: DummyRule;
|
|
901
|
+
"react/jsx-no-undef"?: DummyRule;
|
|
902
|
+
"react/jsx-no-useless-fragment"?: DummyRule;
|
|
903
|
+
"react/jsx-pascal-case"?: DummyRule;
|
|
904
|
+
"react/jsx-props-no-spread-multi"?: DummyRule;
|
|
905
|
+
"react/jsx-props-no-spreading"?: DummyRule;
|
|
906
|
+
"react/no-array-index-key"?: DummyRule;
|
|
907
|
+
"react/no-children-prop"?: DummyRule;
|
|
908
|
+
"react/no-clone-element"?: DummyRule;
|
|
909
|
+
"react/no-danger"?: DummyRule;
|
|
910
|
+
"react/no-danger-with-children"?: DummyRule;
|
|
911
|
+
"react/no-did-mount-set-state"?: DummyRule;
|
|
912
|
+
"react/no-did-update-set-state"?: DummyRule;
|
|
913
|
+
"react/no-direct-mutation-state"?: DummyRule;
|
|
914
|
+
"react/no-find-dom-node"?: DummyRule;
|
|
915
|
+
"react/no-is-mounted"?: DummyRule;
|
|
916
|
+
"react/no-multi-comp"?: DummyRule;
|
|
917
|
+
"react/no-namespace"?: DummyRule;
|
|
918
|
+
"react/no-object-type-as-default-prop"?: DummyRule;
|
|
919
|
+
"react/no-react-children"?: DummyRule;
|
|
920
|
+
"react/no-redundant-should-component-update"?: DummyRule;
|
|
921
|
+
"react/no-render-return-value"?: DummyRule;
|
|
922
|
+
"react/no-set-state"?: DummyRule;
|
|
923
|
+
"react/no-string-refs"?: DummyRule;
|
|
924
|
+
"react/no-this-in-sfc"?: DummyRule;
|
|
925
|
+
"react/no-unescaped-entities"?: DummyRule;
|
|
926
|
+
"react/no-unknown-property"?: DummyRule;
|
|
927
|
+
"react/no-unsafe"?: DummyRule;
|
|
928
|
+
"react/no-unstable-nested-components"?: DummyRule;
|
|
929
|
+
"react/no-will-update-set-state"?: DummyRule;
|
|
930
|
+
"react/only-export-components"?: DummyRule;
|
|
931
|
+
"react/prefer-es6-class"?: DummyRule;
|
|
932
|
+
"react/prefer-function-component"?: DummyRule;
|
|
933
|
+
"react/react-in-jsx-scope"?: DummyRule;
|
|
934
|
+
"react/require-render-return"?: DummyRule;
|
|
935
|
+
"react/rules-of-hooks"?: DummyRule;
|
|
936
|
+
"react/self-closing-comp"?: DummyRule;
|
|
937
|
+
"react/state-in-constructor"?: DummyRule;
|
|
938
|
+
"react/style-prop-object"?: DummyRule;
|
|
939
|
+
"react/void-dom-elements-no-children"?: DummyRule;
|
|
940
|
+
"require-await"?: DummyRule;
|
|
941
|
+
"require-unicode-regexp"?: DummyRule;
|
|
942
|
+
"require-yield"?: DummyRule;
|
|
943
|
+
"sort-imports"?: DummyRule;
|
|
944
|
+
"sort-keys"?: DummyRule;
|
|
945
|
+
"sort-vars"?: DummyRule;
|
|
946
|
+
"symbol-description"?: DummyRule;
|
|
947
|
+
"typescript/adjacent-overload-signatures"?: DummyRule;
|
|
948
|
+
"typescript/array-type"?: DummyRule;
|
|
949
|
+
"typescript/await-thenable"?: DummyRule;
|
|
950
|
+
"typescript/ban-ts-comment"?: DummyRule;
|
|
951
|
+
"typescript/ban-tslint-comment"?: DummyRule;
|
|
952
|
+
"typescript/ban-types"?: DummyRule;
|
|
953
|
+
"typescript/class-literal-property-style"?: DummyRule;
|
|
954
|
+
"typescript/consistent-generic-constructors"?: DummyRule;
|
|
955
|
+
"typescript/consistent-indexed-object-style"?: DummyRule;
|
|
956
|
+
"typescript/consistent-return"?: DummyRule;
|
|
957
|
+
"typescript/consistent-type-assertions"?: DummyRule;
|
|
958
|
+
"typescript/consistent-type-definitions"?: DummyRule;
|
|
959
|
+
"typescript/consistent-type-exports"?: DummyRule;
|
|
960
|
+
"typescript/consistent-type-imports"?: DummyRule;
|
|
961
|
+
"typescript/dot-notation"?: DummyRule;
|
|
962
|
+
"typescript/explicit-function-return-type"?: DummyRule;
|
|
963
|
+
"typescript/explicit-member-accessibility"?: DummyRule;
|
|
964
|
+
"typescript/explicit-module-boundary-types"?: DummyRule;
|
|
965
|
+
"typescript/no-array-delete"?: DummyRule;
|
|
966
|
+
"typescript/no-base-to-string"?: DummyRule;
|
|
967
|
+
"typescript/no-confusing-non-null-assertion"?: DummyRule;
|
|
968
|
+
"typescript/no-confusing-void-expression"?: DummyRule;
|
|
969
|
+
"typescript/no-deprecated"?: DummyRule;
|
|
970
|
+
"typescript/no-duplicate-enum-values"?: DummyRule;
|
|
971
|
+
"typescript/no-duplicate-type-constituents"?: DummyRule;
|
|
972
|
+
"typescript/no-dynamic-delete"?: DummyRule;
|
|
973
|
+
"typescript/no-empty-interface"?: DummyRule;
|
|
974
|
+
"typescript/no-empty-object-type"?: DummyRule;
|
|
975
|
+
"typescript/no-explicit-any"?: DummyRule;
|
|
976
|
+
"typescript/no-extra-non-null-assertion"?: DummyRule;
|
|
977
|
+
"typescript/no-extraneous-class"?: DummyRule;
|
|
978
|
+
"typescript/no-floating-promises"?: DummyRule;
|
|
979
|
+
"typescript/no-for-in-array"?: DummyRule;
|
|
980
|
+
"typescript/no-implied-eval"?: DummyRule;
|
|
981
|
+
"typescript/no-import-type-side-effects"?: DummyRule;
|
|
982
|
+
"typescript/no-inferrable-types"?: DummyRule;
|
|
983
|
+
"typescript/no-invalid-void-type"?: DummyRule;
|
|
984
|
+
"typescript/no-meaningless-void-operator"?: DummyRule;
|
|
985
|
+
"typescript/no-misused-new"?: DummyRule;
|
|
986
|
+
"typescript/no-misused-promises"?: DummyRule;
|
|
987
|
+
"typescript/no-misused-spread"?: DummyRule;
|
|
988
|
+
"typescript/no-mixed-enums"?: DummyRule;
|
|
989
|
+
"typescript/no-namespace"?: DummyRule;
|
|
990
|
+
"typescript/no-non-null-asserted-nullish-coalescing"?: DummyRule;
|
|
991
|
+
"typescript/no-non-null-asserted-optional-chain"?: DummyRule;
|
|
992
|
+
"typescript/no-non-null-assertion"?: DummyRule;
|
|
993
|
+
"typescript/no-redundant-type-constituents"?: DummyRule;
|
|
994
|
+
"typescript/no-require-imports"?: DummyRule;
|
|
995
|
+
"typescript/no-restricted-types"?: DummyRule;
|
|
996
|
+
"typescript/no-this-alias"?: DummyRule;
|
|
997
|
+
"typescript/no-unnecessary-boolean-literal-compare"?: DummyRule;
|
|
998
|
+
"typescript/no-unnecessary-condition"?: DummyRule;
|
|
999
|
+
"typescript/no-unnecessary-parameter-property-assignment"?: DummyRule;
|
|
1000
|
+
"typescript/no-unnecessary-qualifier"?: DummyRule;
|
|
1001
|
+
"typescript/no-unnecessary-template-expression"?: DummyRule;
|
|
1002
|
+
"typescript/no-unnecessary-type-arguments"?: DummyRule;
|
|
1003
|
+
"typescript/no-unnecessary-type-assertion"?: DummyRule;
|
|
1004
|
+
"typescript/no-unnecessary-type-constraint"?: DummyRule;
|
|
1005
|
+
"typescript/no-unnecessary-type-conversion"?: DummyRule;
|
|
1006
|
+
"typescript/no-unnecessary-type-parameters"?: DummyRule;
|
|
1007
|
+
"typescript/no-unsafe-argument"?: DummyRule;
|
|
1008
|
+
"typescript/no-unsafe-assignment"?: DummyRule;
|
|
1009
|
+
"typescript/no-unsafe-call"?: DummyRule;
|
|
1010
|
+
"typescript/no-unsafe-declaration-merging"?: DummyRule;
|
|
1011
|
+
"typescript/no-unsafe-enum-comparison"?: DummyRule;
|
|
1012
|
+
"typescript/no-unsafe-function-type"?: DummyRule;
|
|
1013
|
+
"typescript/no-unsafe-member-access"?: DummyRule;
|
|
1014
|
+
"typescript/no-unsafe-return"?: DummyRule;
|
|
1015
|
+
"typescript/no-unsafe-type-assertion"?: DummyRule;
|
|
1016
|
+
"typescript/no-unsafe-unary-minus"?: DummyRule;
|
|
1017
|
+
"typescript/no-useless-default-assignment"?: DummyRule;
|
|
1018
|
+
"typescript/no-useless-empty-export"?: DummyRule;
|
|
1019
|
+
"typescript/no-var-requires"?: DummyRule;
|
|
1020
|
+
"typescript/no-wrapper-object-types"?: DummyRule;
|
|
1021
|
+
"typescript/non-nullable-type-assertion-style"?: DummyRule;
|
|
1022
|
+
"typescript/only-throw-error"?: DummyRule;
|
|
1023
|
+
"typescript/parameter-properties"?: DummyRule;
|
|
1024
|
+
"typescript/prefer-as-const"?: DummyRule;
|
|
1025
|
+
"typescript/prefer-enum-initializers"?: DummyRule;
|
|
1026
|
+
"typescript/prefer-find"?: DummyRule;
|
|
1027
|
+
"typescript/prefer-for-of"?: DummyRule;
|
|
1028
|
+
"typescript/prefer-function-type"?: DummyRule;
|
|
1029
|
+
"typescript/prefer-includes"?: DummyRule;
|
|
1030
|
+
"typescript/prefer-literal-enum-member"?: DummyRule;
|
|
1031
|
+
"typescript/prefer-namespace-keyword"?: DummyRule;
|
|
1032
|
+
"typescript/prefer-nullish-coalescing"?: DummyRule;
|
|
1033
|
+
"typescript/prefer-optional-chain"?: DummyRule;
|
|
1034
|
+
"typescript/prefer-promise-reject-errors"?: DummyRule;
|
|
1035
|
+
"typescript/prefer-readonly"?: DummyRule;
|
|
1036
|
+
"typescript/prefer-readonly-parameter-types"?: DummyRule;
|
|
1037
|
+
"typescript/prefer-reduce-type-parameter"?: DummyRule;
|
|
1038
|
+
"typescript/prefer-regexp-exec"?: DummyRule;
|
|
1039
|
+
"typescript/prefer-return-this-type"?: DummyRule;
|
|
1040
|
+
"typescript/prefer-string-starts-ends-with"?: DummyRule;
|
|
1041
|
+
"typescript/prefer-ts-expect-error"?: DummyRule;
|
|
1042
|
+
"typescript/promise-function-async"?: DummyRule;
|
|
1043
|
+
"typescript/related-getter-setter-pairs"?: DummyRule;
|
|
1044
|
+
"typescript/require-array-sort-compare"?: DummyRule;
|
|
1045
|
+
"typescript/require-await"?: DummyRule;
|
|
1046
|
+
"typescript/restrict-plus-operands"?: DummyRule;
|
|
1047
|
+
"typescript/restrict-template-expressions"?: DummyRule;
|
|
1048
|
+
"typescript/return-await"?: DummyRule;
|
|
1049
|
+
"typescript/strict-boolean-expressions"?: DummyRule;
|
|
1050
|
+
"typescript/strict-void-return"?: DummyRule;
|
|
1051
|
+
"typescript/switch-exhaustiveness-check"?: DummyRule;
|
|
1052
|
+
"typescript/triple-slash-reference"?: DummyRule;
|
|
1053
|
+
"typescript/unbound-method"?: DummyRule;
|
|
1054
|
+
"typescript/unified-signatures"?: DummyRule;
|
|
1055
|
+
"typescript/use-unknown-in-catch-callback-variable"?: DummyRule;
|
|
1056
|
+
"unicode-bom"?: DummyRule;
|
|
1057
|
+
"unicorn/catch-error-name"?: DummyRule;
|
|
1058
|
+
"unicorn/consistent-assert"?: DummyRule;
|
|
1059
|
+
"unicorn/consistent-date-clone"?: DummyRule;
|
|
1060
|
+
"unicorn/consistent-empty-array-spread"?: DummyRule;
|
|
1061
|
+
"unicorn/consistent-existence-index-check"?: DummyRule;
|
|
1062
|
+
"unicorn/consistent-function-scoping"?: DummyRule;
|
|
1063
|
+
"unicorn/consistent-template-literal-escape"?: DummyRule;
|
|
1064
|
+
"unicorn/custom-error-definition"?: DummyRule;
|
|
1065
|
+
"unicorn/empty-brace-spaces"?: DummyRule;
|
|
1066
|
+
"unicorn/error-message"?: DummyRule;
|
|
1067
|
+
"unicorn/escape-case"?: DummyRule;
|
|
1068
|
+
"unicorn/explicit-length-check"?: DummyRule;
|
|
1069
|
+
"unicorn/filename-case"?: DummyRule;
|
|
1070
|
+
"unicorn/new-for-builtins"?: DummyRule;
|
|
1071
|
+
"unicorn/no-abusive-eslint-disable"?: DummyRule;
|
|
1072
|
+
"unicorn/no-accessor-recursion"?: DummyRule;
|
|
1073
|
+
"unicorn/no-anonymous-default-export"?: DummyRule;
|
|
1074
|
+
"unicorn/no-array-callback-reference"?: DummyRule;
|
|
1075
|
+
"unicorn/no-array-for-each"?: DummyRule;
|
|
1076
|
+
"unicorn/no-array-method-this-argument"?: DummyRule;
|
|
1077
|
+
"unicorn/no-array-reduce"?: DummyRule;
|
|
1078
|
+
"unicorn/no-array-reverse"?: DummyRule;
|
|
1079
|
+
"unicorn/no-array-sort"?: DummyRule;
|
|
1080
|
+
"unicorn/no-await-expression-member"?: DummyRule;
|
|
1081
|
+
"unicorn/no-await-in-promise-methods"?: DummyRule;
|
|
1082
|
+
"unicorn/no-console-spaces"?: DummyRule;
|
|
1083
|
+
"unicorn/no-document-cookie"?: DummyRule;
|
|
1084
|
+
"unicorn/no-empty-file"?: DummyRule;
|
|
1085
|
+
"unicorn/no-hex-escape"?: DummyRule;
|
|
1086
|
+
"unicorn/no-immediate-mutation"?: DummyRule;
|
|
1087
|
+
"unicorn/no-instanceof-array"?: DummyRule;
|
|
1088
|
+
"unicorn/no-instanceof-builtins"?: DummyRule;
|
|
1089
|
+
"unicorn/no-invalid-fetch-options"?: DummyRule;
|
|
1090
|
+
"unicorn/no-invalid-remove-event-listener"?: DummyRule;
|
|
1091
|
+
"unicorn/no-length-as-slice-end"?: DummyRule;
|
|
1092
|
+
"unicorn/no-lonely-if"?: DummyRule;
|
|
1093
|
+
"unicorn/no-magic-array-flat-depth"?: DummyRule;
|
|
1094
|
+
"unicorn/no-negated-condition"?: DummyRule;
|
|
1095
|
+
"unicorn/no-negation-in-equality-check"?: DummyRule;
|
|
1096
|
+
"unicorn/no-nested-ternary"?: DummyRule;
|
|
1097
|
+
"unicorn/no-new-array"?: DummyRule;
|
|
1098
|
+
"unicorn/no-new-buffer"?: DummyRule;
|
|
1099
|
+
"unicorn/no-null"?: DummyRule;
|
|
1100
|
+
"unicorn/no-object-as-default-parameter"?: DummyRule;
|
|
1101
|
+
"unicorn/no-process-exit"?: DummyRule;
|
|
1102
|
+
"unicorn/no-single-promise-in-promise-methods"?: DummyRule;
|
|
1103
|
+
"unicorn/no-static-only-class"?: DummyRule;
|
|
1104
|
+
"unicorn/no-thenable"?: DummyRule;
|
|
1105
|
+
"unicorn/no-this-assignment"?: DummyRule;
|
|
1106
|
+
"unicorn/no-typeof-undefined"?: DummyRule;
|
|
1107
|
+
"unicorn/no-unnecessary-array-flat-depth"?: DummyRule;
|
|
1108
|
+
"unicorn/no-unnecessary-array-splice-count"?: DummyRule;
|
|
1109
|
+
"unicorn/no-unnecessary-await"?: DummyRule;
|
|
1110
|
+
"unicorn/no-unnecessary-slice-end"?: DummyRule;
|
|
1111
|
+
"unicorn/no-unreadable-array-destructuring"?: DummyRule;
|
|
1112
|
+
"unicorn/no-unreadable-iife"?: DummyRule;
|
|
1113
|
+
"unicorn/no-useless-collection-argument"?: DummyRule;
|
|
1114
|
+
"unicorn/no-useless-error-capture-stack-trace"?: DummyRule;
|
|
1115
|
+
"unicorn/no-useless-fallback-in-spread"?: DummyRule;
|
|
1116
|
+
"unicorn/no-useless-iterator-to-array"?: DummyRule;
|
|
1117
|
+
"unicorn/no-useless-length-check"?: DummyRule;
|
|
1118
|
+
"unicorn/no-useless-promise-resolve-reject"?: DummyRule;
|
|
1119
|
+
"unicorn/no-useless-spread"?: DummyRule;
|
|
1120
|
+
"unicorn/no-useless-switch-case"?: DummyRule;
|
|
1121
|
+
"unicorn/no-useless-undefined"?: DummyRule;
|
|
1122
|
+
"unicorn/no-zero-fractions"?: DummyRule;
|
|
1123
|
+
"unicorn/number-literal-case"?: DummyRule;
|
|
1124
|
+
"unicorn/numeric-separators-style"?: DummyRule;
|
|
1125
|
+
"unicorn/prefer-add-event-listener"?: DummyRule;
|
|
1126
|
+
"unicorn/prefer-array-find"?: DummyRule;
|
|
1127
|
+
"unicorn/prefer-array-flat"?: DummyRule;
|
|
1128
|
+
"unicorn/prefer-array-flat-map"?: DummyRule;
|
|
1129
|
+
"unicorn/prefer-array-index-of"?: DummyRule;
|
|
1130
|
+
"unicorn/prefer-array-some"?: DummyRule;
|
|
1131
|
+
"unicorn/prefer-at"?: DummyRule;
|
|
1132
|
+
"unicorn/prefer-bigint-literals"?: DummyRule;
|
|
1133
|
+
"unicorn/prefer-blob-reading-methods"?: DummyRule;
|
|
1134
|
+
"unicorn/prefer-class-fields"?: DummyRule;
|
|
1135
|
+
"unicorn/prefer-classlist-toggle"?: DummyRule;
|
|
1136
|
+
"unicorn/prefer-code-point"?: DummyRule;
|
|
1137
|
+
"unicorn/prefer-date-now"?: DummyRule;
|
|
1138
|
+
"unicorn/prefer-default-parameters"?: DummyRule;
|
|
1139
|
+
"unicorn/prefer-dom-node-append"?: DummyRule;
|
|
1140
|
+
"unicorn/prefer-dom-node-dataset"?: DummyRule;
|
|
1141
|
+
"unicorn/prefer-dom-node-remove"?: DummyRule;
|
|
1142
|
+
"unicorn/prefer-dom-node-text-content"?: DummyRule;
|
|
1143
|
+
"unicorn/prefer-event-target"?: DummyRule;
|
|
1144
|
+
"unicorn/prefer-global-this"?: DummyRule;
|
|
1145
|
+
"unicorn/prefer-import-meta-properties"?: DummyRule;
|
|
1146
|
+
"unicorn/prefer-includes"?: DummyRule;
|
|
1147
|
+
"unicorn/prefer-keyboard-event-key"?: DummyRule;
|
|
1148
|
+
"unicorn/prefer-logical-operator-over-ternary"?: DummyRule;
|
|
1149
|
+
"unicorn/prefer-math-min-max"?: DummyRule;
|
|
1150
|
+
"unicorn/prefer-math-trunc"?: DummyRule;
|
|
1151
|
+
"unicorn/prefer-modern-dom-apis"?: DummyRule;
|
|
1152
|
+
"unicorn/prefer-modern-math-apis"?: DummyRule;
|
|
1153
|
+
"unicorn/prefer-module"?: DummyRule;
|
|
1154
|
+
"unicorn/prefer-native-coercion-functions"?: DummyRule;
|
|
1155
|
+
"unicorn/prefer-negative-index"?: DummyRule;
|
|
1156
|
+
"unicorn/prefer-node-protocol"?: DummyRule;
|
|
1157
|
+
"unicorn/prefer-number-properties"?: DummyRule;
|
|
1158
|
+
"unicorn/prefer-object-from-entries"?: DummyRule;
|
|
1159
|
+
"unicorn/prefer-optional-catch-binding"?: DummyRule;
|
|
1160
|
+
"unicorn/prefer-prototype-methods"?: DummyRule;
|
|
1161
|
+
"unicorn/prefer-query-selector"?: DummyRule;
|
|
1162
|
+
"unicorn/prefer-reflect-apply"?: DummyRule;
|
|
1163
|
+
"unicorn/prefer-regexp-test"?: DummyRule;
|
|
1164
|
+
"unicorn/prefer-response-static-json"?: DummyRule;
|
|
1165
|
+
"unicorn/prefer-set-has"?: DummyRule;
|
|
1166
|
+
"unicorn/prefer-set-size"?: DummyRule;
|
|
1167
|
+
"unicorn/prefer-spread"?: DummyRule;
|
|
1168
|
+
"unicorn/prefer-string-raw"?: DummyRule;
|
|
1169
|
+
"unicorn/prefer-string-replace-all"?: DummyRule;
|
|
1170
|
+
"unicorn/prefer-string-slice"?: DummyRule;
|
|
1171
|
+
"unicorn/prefer-string-starts-ends-with"?: DummyRule;
|
|
1172
|
+
"unicorn/prefer-string-trim-start-end"?: DummyRule;
|
|
1173
|
+
"unicorn/prefer-structured-clone"?: DummyRule;
|
|
1174
|
+
"unicorn/prefer-ternary"?: DummyRule;
|
|
1175
|
+
"unicorn/prefer-top-level-await"?: DummyRule;
|
|
1176
|
+
"unicorn/prefer-type-error"?: DummyRule;
|
|
1177
|
+
"unicorn/relative-url-style"?: DummyRule;
|
|
1178
|
+
"unicorn/require-array-join-separator"?: DummyRule;
|
|
1179
|
+
"unicorn/require-module-attributes"?: DummyRule;
|
|
1180
|
+
"unicorn/require-module-specifiers"?: DummyRule;
|
|
1181
|
+
"unicorn/require-number-to-fixed-digits-argument"?: DummyRule;
|
|
1182
|
+
"unicorn/require-post-message-target-origin"?: DummyRule;
|
|
1183
|
+
"unicorn/switch-case-braces"?: DummyRule;
|
|
1184
|
+
"unicorn/switch-case-break-position"?: DummyRule;
|
|
1185
|
+
"unicorn/text-encoding-identifier-case"?: DummyRule;
|
|
1186
|
+
"unicorn/throw-new-error"?: DummyRule;
|
|
1187
|
+
"use-isnan"?: DummyRule;
|
|
1188
|
+
"valid-typeof"?: DummyRule;
|
|
1189
|
+
"vars-on-top"?: DummyRule;
|
|
1190
|
+
"vitest/consistent-each-for"?: DummyRule;
|
|
1191
|
+
"vitest/consistent-test-filename"?: DummyRule;
|
|
1192
|
+
"vitest/consistent-test-it"?: DummyRule;
|
|
1193
|
+
"vitest/consistent-vitest-vi"?: DummyRule;
|
|
1194
|
+
"vitest/expect-expect"?: DummyRule;
|
|
1195
|
+
"vitest/hoisted-apis-on-top"?: DummyRule;
|
|
1196
|
+
"vitest/max-expects"?: DummyRule;
|
|
1197
|
+
"vitest/max-nested-describe"?: DummyRule;
|
|
1198
|
+
"vitest/no-alias-methods"?: DummyRule;
|
|
1199
|
+
"vitest/no-commented-out-tests"?: DummyRule;
|
|
1200
|
+
"vitest/no-conditional-expect"?: DummyRule;
|
|
1201
|
+
"vitest/no-conditional-in-test"?: DummyRule;
|
|
1202
|
+
"vitest/no-conditional-tests"?: DummyRule;
|
|
1203
|
+
"vitest/no-disabled-tests"?: DummyRule;
|
|
1204
|
+
"vitest/no-duplicate-hooks"?: DummyRule;
|
|
1205
|
+
"vitest/no-focused-tests"?: DummyRule;
|
|
1206
|
+
"vitest/no-hooks"?: DummyRule;
|
|
1207
|
+
"vitest/no-identical-title"?: DummyRule;
|
|
1208
|
+
"vitest/no-import-node-test"?: DummyRule;
|
|
1209
|
+
"vitest/no-importing-vitest-globals"?: DummyRule;
|
|
1210
|
+
"vitest/no-interpolation-in-snapshots"?: DummyRule;
|
|
1211
|
+
"vitest/no-large-snapshots"?: DummyRule;
|
|
1212
|
+
"vitest/no-mocks-import"?: DummyRule;
|
|
1213
|
+
"vitest/no-restricted-matchers"?: DummyRule;
|
|
1214
|
+
"vitest/no-restricted-vi-methods"?: DummyRule;
|
|
1215
|
+
"vitest/no-standalone-expect"?: DummyRule;
|
|
1216
|
+
"vitest/no-test-prefixes"?: DummyRule;
|
|
1217
|
+
"vitest/no-test-return-statement"?: DummyRule;
|
|
1218
|
+
"vitest/no-unneeded-async-expect-function"?: DummyRule;
|
|
1219
|
+
"vitest/padding-around-after-all-blocks"?: DummyRule;
|
|
1220
|
+
"vitest/prefer-called-exactly-once-with"?: DummyRule;
|
|
1221
|
+
"vitest/prefer-called-once"?: DummyRule;
|
|
1222
|
+
"vitest/prefer-called-times"?: DummyRule;
|
|
1223
|
+
"vitest/prefer-called-with"?: DummyRule;
|
|
1224
|
+
"vitest/prefer-comparison-matcher"?: DummyRule;
|
|
1225
|
+
"vitest/prefer-describe-function-title"?: DummyRule;
|
|
1226
|
+
"vitest/prefer-each"?: DummyRule;
|
|
1227
|
+
"vitest/prefer-equality-matcher"?: DummyRule;
|
|
1228
|
+
"vitest/prefer-expect-assertions"?: DummyRule;
|
|
1229
|
+
"vitest/prefer-expect-resolves"?: DummyRule;
|
|
1230
|
+
"vitest/prefer-expect-type-of"?: DummyRule;
|
|
1231
|
+
"vitest/prefer-hooks-in-order"?: DummyRule;
|
|
1232
|
+
"vitest/prefer-hooks-on-top"?: DummyRule;
|
|
1233
|
+
"vitest/prefer-import-in-mock"?: DummyRule;
|
|
1234
|
+
"vitest/prefer-importing-vitest-globals"?: DummyRule;
|
|
1235
|
+
"vitest/prefer-lowercase-title"?: DummyRule;
|
|
1236
|
+
"vitest/prefer-mock-promise-shorthand"?: DummyRule;
|
|
1237
|
+
"vitest/prefer-mock-return-shorthand"?: DummyRule;
|
|
1238
|
+
"vitest/prefer-snapshot-hint"?: DummyRule;
|
|
1239
|
+
"vitest/prefer-spy-on"?: DummyRule;
|
|
1240
|
+
"vitest/prefer-strict-boolean-matchers"?: DummyRule;
|
|
1241
|
+
"vitest/prefer-strict-equal"?: DummyRule;
|
|
1242
|
+
"vitest/prefer-to-be"?: DummyRule;
|
|
1243
|
+
"vitest/prefer-to-be-falsy"?: DummyRule;
|
|
1244
|
+
"vitest/prefer-to-be-object"?: DummyRule;
|
|
1245
|
+
"vitest/prefer-to-be-truthy"?: DummyRule;
|
|
1246
|
+
"vitest/prefer-to-contain"?: DummyRule;
|
|
1247
|
+
"vitest/prefer-to-have-been-called-times"?: DummyRule;
|
|
1248
|
+
"vitest/prefer-to-have-length"?: DummyRule;
|
|
1249
|
+
"vitest/prefer-todo"?: DummyRule;
|
|
1250
|
+
"vitest/require-awaited-expect-poll"?: DummyRule;
|
|
1251
|
+
"vitest/require-hook"?: DummyRule;
|
|
1252
|
+
"vitest/require-local-test-context-for-concurrent-snapshots"?: DummyRule;
|
|
1253
|
+
"vitest/require-mock-type-parameters"?: DummyRule;
|
|
1254
|
+
"vitest/require-test-timeout"?: DummyRule;
|
|
1255
|
+
"vitest/require-to-throw-message"?: DummyRule;
|
|
1256
|
+
"vitest/require-top-level-describe"?: DummyRule;
|
|
1257
|
+
"vitest/valid-describe-callback"?: DummyRule;
|
|
1258
|
+
"vitest/valid-expect"?: DummyRule;
|
|
1259
|
+
"vitest/valid-expect-in-promise"?: DummyRule;
|
|
1260
|
+
"vitest/valid-title"?: DummyRule;
|
|
1261
|
+
"vitest/warn-todo"?: DummyRule;
|
|
1262
|
+
"vue/define-emits-declaration"?: DummyRule;
|
|
1263
|
+
"vue/define-props-declaration"?: DummyRule;
|
|
1264
|
+
"vue/define-props-destructuring"?: DummyRule;
|
|
1265
|
+
"vue/max-props"?: DummyRule;
|
|
1266
|
+
"vue/no-arrow-functions-in-watch"?: DummyRule;
|
|
1267
|
+
"vue/no-deprecated-data-object-declaration"?: DummyRule;
|
|
1268
|
+
"vue/no-deprecated-delete-set"?: DummyRule;
|
|
1269
|
+
"vue/no-deprecated-destroyed-lifecycle"?: DummyRule;
|
|
1270
|
+
"vue/no-deprecated-events-api"?: DummyRule;
|
|
1271
|
+
"vue/no-deprecated-model-definition"?: DummyRule;
|
|
1272
|
+
"vue/no-deprecated-vue-config-keycodes"?: DummyRule;
|
|
1273
|
+
"vue/no-export-in-script-setup"?: DummyRule;
|
|
1274
|
+
"vue/no-import-compiler-macros"?: DummyRule;
|
|
1275
|
+
"vue/no-lifecycle-after-await"?: DummyRule;
|
|
1276
|
+
"vue/no-multiple-slot-args"?: DummyRule;
|
|
1277
|
+
"vue/no-required-prop-with-default"?: DummyRule;
|
|
1278
|
+
"vue/no-this-in-before-route-enter"?: DummyRule;
|
|
1279
|
+
"vue/prefer-import-from-vue"?: DummyRule;
|
|
1280
|
+
"vue/require-default-export"?: DummyRule;
|
|
1281
|
+
"vue/require-typed-ref"?: DummyRule;
|
|
1282
|
+
"vue/return-in-computed-property"?: DummyRule;
|
|
1283
|
+
"vue/valid-define-emits"?: DummyRule;
|
|
1284
|
+
"vue/valid-define-props"?: DummyRule;
|
|
1285
|
+
yoda?: DummyRule;
|
|
485
1286
|
[k: string]: DummyRule;
|
|
486
1287
|
}
|
|
487
1288
|
/**
|
package/dist/src/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as main } from "../src-
|
|
1
|
+
import { t as main } from "../src-IOFYZ1gX.mjs";
|
|
2
2
|
export { main as default };
|
|
@@ -180,6 +180,7 @@ const rulesPrefixesForPlugins = {
|
|
|
180
180
|
jest: "jest",
|
|
181
181
|
jsdoc: "jsdoc",
|
|
182
182
|
"jsx-a11y": "jsx-a11y",
|
|
183
|
+
"jsx-a11y-x": "jsx-a11y",
|
|
183
184
|
"@next/next": "nextjs",
|
|
184
185
|
node: "node",
|
|
185
186
|
n: "node",
|
|
@@ -443,6 +444,8 @@ const pedanticRules = [
|
|
|
443
444
|
"jsdoc/require-returns",
|
|
444
445
|
"jsdoc/require-returns-description",
|
|
445
446
|
"jsdoc/require-returns-type",
|
|
447
|
+
"jsdoc/require-throws-type",
|
|
448
|
+
"jsdoc/require-yields-type",
|
|
446
449
|
"react/checked-requires-onchange-or-readonly",
|
|
447
450
|
"react/display-name",
|
|
448
451
|
"react/jsx-no-target-blank",
|
|
@@ -538,6 +541,7 @@ const styleRules = [
|
|
|
538
541
|
"grouped-accessor-pairs",
|
|
539
542
|
"guard-for-in",
|
|
540
543
|
"id-length",
|
|
544
|
+
"id-match",
|
|
541
545
|
"init-declarations",
|
|
542
546
|
"logical-assignment-operators",
|
|
543
547
|
"max-params",
|
|
@@ -562,6 +566,7 @@ const styleRules = [
|
|
|
562
566
|
"no-useless-computed-key",
|
|
563
567
|
"object-shorthand",
|
|
564
568
|
"operator-assignment",
|
|
569
|
+
"prefer-arrow-callback",
|
|
565
570
|
"prefer-const",
|
|
566
571
|
"prefer-destructuring",
|
|
567
572
|
"prefer-exponentiation-operator",
|
|
@@ -581,6 +586,7 @@ const styleRules = [
|
|
|
581
586
|
"import/exports-last",
|
|
582
587
|
"import/first",
|
|
583
588
|
"import/group-exports",
|
|
589
|
+
"import/newline-after-import",
|
|
584
590
|
"import/no-anonymous-default-export",
|
|
585
591
|
"import/no-duplicates",
|
|
586
592
|
"import/no-mutable-exports",
|
|
@@ -635,6 +641,7 @@ const styleRules = [
|
|
|
635
641
|
"jest/prefer-todo",
|
|
636
642
|
"jest/require-hook",
|
|
637
643
|
"jest/require-top-level-describe",
|
|
644
|
+
"jsdoc/require-throws-description",
|
|
638
645
|
"node/global-require",
|
|
639
646
|
"node/no-exports-assign",
|
|
640
647
|
"promise/avoid-new",
|
|
@@ -746,6 +753,7 @@ const styleRules = [
|
|
|
746
753
|
"vitest/no-test-prefixes",
|
|
747
754
|
"vitest/no-test-return-statement",
|
|
748
755
|
"vitest/no-unneeded-async-expect-function",
|
|
756
|
+
"vitest/padding-around-after-all-blocks",
|
|
749
757
|
"vitest/prefer-called-exactly-once-with",
|
|
750
758
|
"vitest/prefer-called-once",
|
|
751
759
|
"vitest/prefer-called-times",
|
|
@@ -790,6 +798,7 @@ const suspiciousRules = [
|
|
|
790
798
|
"block-scoped-var",
|
|
791
799
|
"no-extend-native",
|
|
792
800
|
"no-extra-bind",
|
|
801
|
+
"no-implied-eval",
|
|
793
802
|
"no-new",
|
|
794
803
|
"no-shadow",
|
|
795
804
|
"no-underscore-dangle",
|
|
@@ -813,6 +822,7 @@ const suspiciousRules = [
|
|
|
813
822
|
"react/jsx-no-comment-textnodes",
|
|
814
823
|
"react/jsx-no-script-url",
|
|
815
824
|
"react/no-namespace",
|
|
825
|
+
"react/no-unstable-nested-components",
|
|
816
826
|
"react/react-in-jsx-scope",
|
|
817
827
|
"react/style-prop-object",
|
|
818
828
|
"typescript/consistent-return",
|
|
@@ -852,6 +862,7 @@ const restrictionRules = [
|
|
|
852
862
|
"no-empty",
|
|
853
863
|
"no-empty-function",
|
|
854
864
|
"no-eq-null",
|
|
865
|
+
"no-implicit-globals",
|
|
855
866
|
"no-param-reassign",
|
|
856
867
|
"no-plusplus",
|
|
857
868
|
"no-proto",
|
|
@@ -1026,6 +1037,7 @@ const correctnessRules = [
|
|
|
1026
1037
|
"jsx-a11y/aria-unsupported-elements",
|
|
1027
1038
|
"jsx-a11y/autocomplete-valid",
|
|
1028
1039
|
"jsx-a11y/click-events-have-key-events",
|
|
1040
|
+
"jsx-a11y/control-has-associated-label",
|
|
1029
1041
|
"jsx-a11y/heading-has-content",
|
|
1030
1042
|
"jsx-a11y/html-has-lang",
|
|
1031
1043
|
"jsx-a11y/iframe-has-title",
|
|
@@ -1039,6 +1051,8 @@ const correctnessRules = [
|
|
|
1039
1051
|
"jsx-a11y/no-aria-hidden-on-focusable",
|
|
1040
1052
|
"jsx-a11y/no-autofocus",
|
|
1041
1053
|
"jsx-a11y/no-distracting-elements",
|
|
1054
|
+
"jsx-a11y/no-interactive-element-to-noninteractive-role",
|
|
1055
|
+
"jsx-a11y/no-noninteractive-element-interactions",
|
|
1042
1056
|
"jsx-a11y/no-noninteractive-element-to-interactive-role",
|
|
1043
1057
|
"jsx-a11y/no-noninteractive-tabindex",
|
|
1044
1058
|
"jsx-a11y/no-redundant-roles",
|
|
@@ -1173,6 +1187,7 @@ const perfRules = [
|
|
|
1173
1187
|
"no-useless-call",
|
|
1174
1188
|
"react/jsx-no-constructed-context-values",
|
|
1175
1189
|
"react/no-array-index-key",
|
|
1190
|
+
"react/no-object-type-as-default-prop",
|
|
1176
1191
|
"react-perf/jsx-no-jsx-as-prop",
|
|
1177
1192
|
"react-perf/jsx-no-new-array-as-prop",
|
|
1178
1193
|
"react-perf/jsx-no-new-function-as-prop",
|
|
@@ -1335,6 +1350,7 @@ var unsupportedRules = {
|
|
|
1335
1350
|
"react/jsx-one-expression-per-line": "Stylistic rule from eslint-plugin-react. Should use Oxfmt for stylistic rules, or use JS Plugins to enable this rule.",
|
|
1336
1351
|
"react/jsx-sort-props": "Stylistic rule from eslint-plugin-react. Should use Oxfmt for stylistic rules, or use JS Plugins to enable this rule.",
|
|
1337
1352
|
"react/no-adjacent-inline-elements": "Stylistic rule from eslint-plugin-react. Should use Oxfmt for stylistic rules, or use JS Plugins to enable this rule.",
|
|
1353
|
+
"react/no-deprecated": "No need to implement, already implemented by `typescript/no-deprecated` via tsgolint.",
|
|
1338
1354
|
"react/config": "React Compiler rules will not be implemented in oxlint for now, as they require integration with the react compiler itself. These rules can be used via JS Plugins if desired.",
|
|
1339
1355
|
"react/error-boundaries": "React Compiler rules will not be implemented in oxlint for now, as they require integration with the react compiler itself. These rules can be used via JS Plugins if desired.",
|
|
1340
1356
|
"react/component-hook-factories": "React Compiler rules will not be implemented in oxlint for now, as they require integration with the react compiler itself. These rules can be used via JS Plugins if desired.",
|
|
@@ -1636,7 +1652,7 @@ const isEqualDeep = (a, b) => {
|
|
|
1636
1652
|
* Builds a lookup map of unsupported rule explanations.
|
|
1637
1653
|
* Converts oxc-style rule keys (e.g. "eslint/no-dupe-args", "react/immutability")
|
|
1638
1654
|
* to all matching ESLint-style keys, using rulesPrefixesForPlugins for aliases
|
|
1639
|
-
* (e.g. react → react-hooks/react-refresh, import → import-x, node → n).
|
|
1655
|
+
* (e.g. react → react-hooks/react-refresh, import → import-x, jsx-a11y → jsx-a11y-x, node → n).
|
|
1640
1656
|
*/
|
|
1641
1657
|
function buildUnsupportedRuleExplanations() {
|
|
1642
1658
|
const explanations = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxlint/migrate",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.66.0",
|
|
4
4
|
"description": "Generates a `.oxlintrc.json` from a existing eslint flat config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"commander": "^14.0.0",
|
|
42
42
|
"globals": "^17.0.0",
|
|
43
|
-
"oxc-parser": "^0.
|
|
43
|
+
"oxc-parser": "^0.131.0",
|
|
44
44
|
"tinyglobby": "^0.2.14"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@antfu/eslint-config": "^8.0.0",
|
|
48
48
|
"@babel/eslint-plugin": "^7.27.1",
|
|
49
|
-
"@e18e/eslint-plugin": "^0.
|
|
49
|
+
"@e18e/eslint-plugin": "^0.5.0",
|
|
50
50
|
"@eslint-react/eslint-plugin": "^4.0.0",
|
|
51
51
|
"@eslint/js": "^10.0.0",
|
|
52
52
|
"@logux/eslint-config": "^57.0.0",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"husky": "^9.1.7",
|
|
84
84
|
"lint-staged": "^16.1.2",
|
|
85
85
|
"next": "^16.0.0",
|
|
86
|
-
"oxfmt": "^0.
|
|
87
|
-
"oxlint": "^1.
|
|
86
|
+
"oxfmt": "^0.50.0",
|
|
87
|
+
"oxlint": "^1.66.0",
|
|
88
88
|
"oxlint-tsgolint": "^0.22.0",
|
|
89
89
|
"tsdown": "^0.22.0",
|
|
90
90
|
"typescript": "^6.0.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"lint-staged": {
|
|
95
95
|
"*": "oxfmt --no-error-on-unmatched-pattern"
|
|
96
96
|
},
|
|
97
|
-
"packageManager": "pnpm@
|
|
97
|
+
"packageManager": "pnpm@11.1.2"
|
|
98
98
|
}
|