oxlint-plugin-react-doctor 0.7.2-dev.cb8f726 → 0.7.2-dev.e872767
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 +46 -0
- package/dist/index.js +1211 -391
- 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";
|
|
@@ -13757,6 +13780,29 @@ declare const RULES: readonly [{
|
|
|
13757
13780
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
13758
13781
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
13759
13782
|
};
|
|
13783
|
+
}, {
|
|
13784
|
+
readonly key: "react-doctor/no-locale-format-in-render";
|
|
13785
|
+
readonly id: "no-locale-format-in-render";
|
|
13786
|
+
readonly source: "react-doctor";
|
|
13787
|
+
readonly originallyExternal: false;
|
|
13788
|
+
readonly rule: {
|
|
13789
|
+
readonly framework: "global";
|
|
13790
|
+
readonly category: "Bugs";
|
|
13791
|
+
readonly requires: readonly Capability[];
|
|
13792
|
+
readonly id: string;
|
|
13793
|
+
readonly title?: string;
|
|
13794
|
+
readonly severity: RuleSeverity;
|
|
13795
|
+
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
13796
|
+
readonly tags?: ReadonlyArray<string>;
|
|
13797
|
+
readonly matchByOccurrence?: boolean;
|
|
13798
|
+
readonly defaultEnabled?: boolean;
|
|
13799
|
+
readonly lifecycle?: "retired";
|
|
13800
|
+
readonly scan?: FileScan;
|
|
13801
|
+
readonly committedFilesOnly?: boolean;
|
|
13802
|
+
readonly recommendation?: string;
|
|
13803
|
+
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
13804
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
13805
|
+
};
|
|
13760
13806
|
}, {
|
|
13761
13807
|
readonly key: "react-doctor/no-long-transition-duration";
|
|
13762
13808
|
readonly id: "no-long-transition-duration";
|