oxlint-plugin-react-doctor 0.7.9-dev.093619c → 0.7.9-dev.11388bf

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 (3) hide show
  1. package/dist/index.d.ts +0 -46
  2. package/dist/index.js +103 -1301
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -5503,29 +5503,6 @@ declare const REACT_DOCTOR_RULES: readonly [{
5503
5503
  readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
5504
5504
  readonly create: (context: RuleContext) => RuleVisitors;
5505
5505
  };
5506
- }, {
5507
- readonly key: "react-doctor/no-ref-callback-cleanup-before-react-19";
5508
- readonly id: "no-ref-callback-cleanup-before-react-19";
5509
- readonly source: "react-doctor";
5510
- readonly originallyExternal: false;
5511
- readonly rule: {
5512
- readonly framework: "global";
5513
- readonly category: "Bugs";
5514
- readonly id: string;
5515
- readonly title?: string;
5516
- readonly severity: RuleSeverity;
5517
- readonly requires?: ReadonlyArray<Capability>;
5518
- readonly disabledWhen?: ReadonlyArray<Capability>;
5519
- readonly tags?: ReadonlyArray<string>;
5520
- readonly matchByOccurrence?: boolean;
5521
- readonly defaultEnabled?: boolean;
5522
- readonly lifecycle?: "retired";
5523
- readonly scan?: FileScan;
5524
- readonly committedFilesOnly?: boolean;
5525
- readonly recommendation?: string;
5526
- readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
5527
- readonly create: (context: RuleContext) => RuleVisitors;
5528
- };
5529
5506
  }, {
5530
5507
  readonly key: "react-doctor/no-ref-current-in-render";
5531
5508
  readonly id: "no-ref-current-in-render";
@@ -14815,29 +14792,6 @@ declare const RULES: readonly [{
14815
14792
  readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
14816
14793
  readonly create: (context: RuleContext) => RuleVisitors;
14817
14794
  };
14818
- }, {
14819
- readonly key: "react-doctor/no-ref-callback-cleanup-before-react-19";
14820
- readonly id: "no-ref-callback-cleanup-before-react-19";
14821
- readonly source: "react-doctor";
14822
- readonly originallyExternal: false;
14823
- readonly rule: {
14824
- readonly framework: "global";
14825
- readonly category: "Bugs";
14826
- readonly id: string;
14827
- readonly title?: string;
14828
- readonly severity: RuleSeverity;
14829
- readonly requires?: ReadonlyArray<Capability>;
14830
- readonly disabledWhen?: ReadonlyArray<Capability>;
14831
- readonly tags?: ReadonlyArray<string>;
14832
- readonly matchByOccurrence?: boolean;
14833
- readonly defaultEnabled?: boolean;
14834
- readonly lifecycle?: "retired";
14835
- readonly scan?: FileScan;
14836
- readonly committedFilesOnly?: boolean;
14837
- readonly recommendation?: string;
14838
- readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
14839
- readonly create: (context: RuleContext) => RuleVisitors;
14840
- };
14841
14795
  }, {
14842
14796
  readonly key: "react-doctor/no-ref-current-in-render";
14843
14797
  readonly id: "no-ref-current-in-render";