oxlint-plugin-react-doctor 0.7.8-dev.ece35b3 → 0.7.9-dev.093619c
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 +48 -2
- package/dist/index.js +8351 -2063
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5503,6 +5503,29 @@ 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
|
+
};
|
|
5506
5529
|
}, {
|
|
5507
5530
|
readonly key: "react-doctor/no-ref-current-in-render";
|
|
5508
5531
|
readonly id: "no-ref-current-in-render";
|
|
@@ -14792,6 +14815,29 @@ declare const RULES: readonly [{
|
|
|
14792
14815
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
14793
14816
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
14794
14817
|
};
|
|
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
|
+
};
|
|
14795
14841
|
}, {
|
|
14796
14842
|
readonly key: "react-doctor/no-ref-current-in-render";
|
|
14797
14843
|
readonly id: "no-ref-current-in-render";
|
|
@@ -18820,8 +18866,8 @@ type CrossFileDependencyCollector = (input: CrossFileDependencyCollectorInput) =
|
|
|
18820
18866
|
declare const CROSS_FILE_DEPENDENCY_COLLECTORS: ReadonlyMap<string, CrossFileDependencyCollector>;
|
|
18821
18867
|
/**
|
|
18822
18868
|
* Cross-file rules whose dependency set CANNOT be soundly bounded — they are
|
|
18823
|
-
* excluded from fingerprinting and re-lint every file on every scan.
|
|
18824
|
-
*
|
|
18869
|
+
* excluded from fingerprinting and re-lint every file on every scan. A new
|
|
18870
|
+
* cross-file rule must be added either here or to
|
|
18825
18871
|
* `CROSS_FILE_DEPENDENCY_COLLECTORS` (the core guard test enforces the
|
|
18826
18872
|
* partition), forcing a conscious classification.
|
|
18827
18873
|
*/
|