oxlint-plugin-react-doctor 0.7.2-dev.11e9c87 → 0.7.2-dev.2953b25
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.
- package/dist/index.d.ts +92 -0
- package/dist/index.js +1530 -430
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4721,6 +4721,29 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
4721
4721
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
4722
4722
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
4723
4723
|
};
|
|
4724
|
+
}, {
|
|
4725
|
+
readonly key: "react-doctor/no-locale-format-in-render";
|
|
4726
|
+
readonly id: "no-locale-format-in-render";
|
|
4727
|
+
readonly source: "react-doctor";
|
|
4728
|
+
readonly originallyExternal: false;
|
|
4729
|
+
readonly rule: {
|
|
4730
|
+
readonly framework: "global";
|
|
4731
|
+
readonly category: "Bugs";
|
|
4732
|
+
readonly requires: readonly Capability[];
|
|
4733
|
+
readonly id: string;
|
|
4734
|
+
readonly title?: string;
|
|
4735
|
+
readonly severity: RuleSeverity;
|
|
4736
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
4737
|
+
readonly tags?: ReadonlyArray<string>;
|
|
4738
|
+
readonly matchByOccurrence?: boolean;
|
|
4739
|
+
readonly defaultEnabled?: boolean;
|
|
4740
|
+
readonly lifecycle?: "retired";
|
|
4741
|
+
readonly scan?: FileScan;
|
|
4742
|
+
readonly committedFilesOnly?: boolean;
|
|
4743
|
+
readonly recommendation?: string;
|
|
4744
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
4745
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
4746
|
+
};
|
|
4724
4747
|
}, {
|
|
4725
4748
|
readonly key: "react-doctor/no-long-transition-duration";
|
|
4726
4749
|
readonly id: "no-long-transition-duration";
|
|
@@ -5572,6 +5595,29 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
5572
5595
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
5573
5596
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
5574
5597
|
};
|
|
5598
|
+
}, {
|
|
5599
|
+
readonly key: "react-doctor/no-stale-timer-ref";
|
|
5600
|
+
readonly id: "no-stale-timer-ref";
|
|
5601
|
+
readonly source: "react-doctor";
|
|
5602
|
+
readonly originallyExternal: false;
|
|
5603
|
+
readonly rule: {
|
|
5604
|
+
readonly framework: "global";
|
|
5605
|
+
readonly category: "Bugs";
|
|
5606
|
+
readonly requires: readonly Capability[];
|
|
5607
|
+
readonly id: string;
|
|
5608
|
+
readonly title?: string;
|
|
5609
|
+
readonly severity: RuleSeverity;
|
|
5610
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
5611
|
+
readonly tags?: ReadonlyArray<string>;
|
|
5612
|
+
readonly matchByOccurrence?: boolean;
|
|
5613
|
+
readonly defaultEnabled?: boolean;
|
|
5614
|
+
readonly lifecycle?: "retired";
|
|
5615
|
+
readonly scan?: FileScan;
|
|
5616
|
+
readonly committedFilesOnly?: boolean;
|
|
5617
|
+
readonly recommendation?: string;
|
|
5618
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
5619
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
5620
|
+
};
|
|
5575
5621
|
}, {
|
|
5576
5622
|
readonly key: "react-doctor/no-static-element-interactions";
|
|
5577
5623
|
readonly id: "no-static-element-interactions";
|
|
@@ -13757,6 +13803,29 @@ declare const RULES: readonly [{
|
|
|
13757
13803
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
13758
13804
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
13759
13805
|
};
|
|
13806
|
+
}, {
|
|
13807
|
+
readonly key: "react-doctor/no-locale-format-in-render";
|
|
13808
|
+
readonly id: "no-locale-format-in-render";
|
|
13809
|
+
readonly source: "react-doctor";
|
|
13810
|
+
readonly originallyExternal: false;
|
|
13811
|
+
readonly rule: {
|
|
13812
|
+
readonly framework: "global";
|
|
13813
|
+
readonly category: "Bugs";
|
|
13814
|
+
readonly requires: readonly Capability[];
|
|
13815
|
+
readonly id: string;
|
|
13816
|
+
readonly title?: string;
|
|
13817
|
+
readonly severity: RuleSeverity;
|
|
13818
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
13819
|
+
readonly tags?: ReadonlyArray<string>;
|
|
13820
|
+
readonly matchByOccurrence?: boolean;
|
|
13821
|
+
readonly defaultEnabled?: boolean;
|
|
13822
|
+
readonly lifecycle?: "retired";
|
|
13823
|
+
readonly scan?: FileScan;
|
|
13824
|
+
readonly committedFilesOnly?: boolean;
|
|
13825
|
+
readonly recommendation?: string;
|
|
13826
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
13827
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
13828
|
+
};
|
|
13760
13829
|
}, {
|
|
13761
13830
|
readonly key: "react-doctor/no-long-transition-duration";
|
|
13762
13831
|
readonly id: "no-long-transition-duration";
|
|
@@ -14608,6 +14677,29 @@ declare const RULES: readonly [{
|
|
|
14608
14677
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
14609
14678
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
14610
14679
|
};
|
|
14680
|
+
}, {
|
|
14681
|
+
readonly key: "react-doctor/no-stale-timer-ref";
|
|
14682
|
+
readonly id: "no-stale-timer-ref";
|
|
14683
|
+
readonly source: "react-doctor";
|
|
14684
|
+
readonly originallyExternal: false;
|
|
14685
|
+
readonly rule: {
|
|
14686
|
+
readonly framework: "global";
|
|
14687
|
+
readonly category: "Bugs";
|
|
14688
|
+
readonly requires: readonly Capability[];
|
|
14689
|
+
readonly id: string;
|
|
14690
|
+
readonly title?: string;
|
|
14691
|
+
readonly severity: RuleSeverity;
|
|
14692
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
14693
|
+
readonly tags?: ReadonlyArray<string>;
|
|
14694
|
+
readonly matchByOccurrence?: boolean;
|
|
14695
|
+
readonly defaultEnabled?: boolean;
|
|
14696
|
+
readonly lifecycle?: "retired";
|
|
14697
|
+
readonly scan?: FileScan;
|
|
14698
|
+
readonly committedFilesOnly?: boolean;
|
|
14699
|
+
readonly recommendation?: string;
|
|
14700
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
14701
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
14702
|
+
};
|
|
14611
14703
|
}, {
|
|
14612
14704
|
readonly key: "react-doctor/no-static-element-interactions";
|
|
14613
14705
|
readonly id: "no-static-element-interactions";
|