oxlint-plugin-react-doctor 0.8.1-dev.7818922 → 0.8.1-dev.7c9dbed
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 +2 -48
- package/dist/index.js +2488 -687
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2421,29 +2421,6 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
2421
2421
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
2422
2422
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
2423
2423
|
};
|
|
2424
|
-
}, {
|
|
2425
|
-
readonly key: "react-doctor/jsx-no-target-blank";
|
|
2426
|
-
readonly id: "jsx-no-target-blank";
|
|
2427
|
-
readonly source: "react-doctor";
|
|
2428
|
-
readonly originallyExternal: true;
|
|
2429
|
-
readonly rule: {
|
|
2430
|
-
readonly framework: "global";
|
|
2431
|
-
readonly category: "Security";
|
|
2432
|
-
readonly requires: readonly Capability[];
|
|
2433
|
-
readonly id: string;
|
|
2434
|
-
readonly title?: string;
|
|
2435
|
-
readonly severity: RuleSeverity;
|
|
2436
|
-
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
2437
|
-
readonly tags?: ReadonlyArray<string>;
|
|
2438
|
-
readonly matchByOccurrence?: boolean;
|
|
2439
|
-
readonly defaultEnabled?: boolean;
|
|
2440
|
-
readonly lifecycle?: "retired";
|
|
2441
|
-
readonly scan?: FileScan;
|
|
2442
|
-
readonly committedFilesOnly?: boolean;
|
|
2443
|
-
readonly recommendation?: string;
|
|
2444
|
-
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
2445
|
-
readonly create: (context: RuleContext) => RuleVisitors;
|
|
2446
|
-
};
|
|
2447
2424
|
}, {
|
|
2448
2425
|
readonly key: "react-doctor/jsx-no-undef";
|
|
2449
2426
|
readonly id: "jsx-no-undef";
|
|
@@ -9437,7 +9414,7 @@ declare const EXTERNAL_RULES: readonly [{
|
|
|
9437
9414
|
}, {
|
|
9438
9415
|
readonly key: "react-hooks-js/set-state-in-effect";
|
|
9439
9416
|
readonly source: "react-compiler";
|
|
9440
|
-
readonly severity: "
|
|
9417
|
+
readonly severity: "warn";
|
|
9441
9418
|
}, {
|
|
9442
9419
|
readonly key: "react-hooks-js/globals";
|
|
9443
9420
|
readonly source: "react-compiler";
|
|
@@ -11733,29 +11710,6 @@ declare const RULES: readonly [{
|
|
|
11733
11710
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
11734
11711
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
11735
11712
|
};
|
|
11736
|
-
}, {
|
|
11737
|
-
readonly key: "react-doctor/jsx-no-target-blank";
|
|
11738
|
-
readonly id: "jsx-no-target-blank";
|
|
11739
|
-
readonly source: "react-doctor";
|
|
11740
|
-
readonly originallyExternal: true;
|
|
11741
|
-
readonly rule: {
|
|
11742
|
-
readonly framework: "global";
|
|
11743
|
-
readonly category: "Security";
|
|
11744
|
-
readonly requires: readonly Capability[];
|
|
11745
|
-
readonly id: string;
|
|
11746
|
-
readonly title?: string;
|
|
11747
|
-
readonly severity: RuleSeverity;
|
|
11748
|
-
readonly disabledWhen?: ReadonlyArray<Capability>;
|
|
11749
|
-
readonly tags?: ReadonlyArray<string>;
|
|
11750
|
-
readonly matchByOccurrence?: boolean;
|
|
11751
|
-
readonly defaultEnabled?: boolean;
|
|
11752
|
-
readonly lifecycle?: "retired";
|
|
11753
|
-
readonly scan?: FileScan;
|
|
11754
|
-
readonly committedFilesOnly?: boolean;
|
|
11755
|
-
readonly recommendation?: string;
|
|
11756
|
-
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
11757
|
-
readonly create: (context: RuleContext) => RuleVisitors;
|
|
11758
|
-
};
|
|
11759
11713
|
}, {
|
|
11760
11714
|
readonly key: "react-doctor/jsx-no-undef";
|
|
11761
11715
|
readonly id: "jsx-no-undef";
|
|
@@ -18748,7 +18702,7 @@ declare const RULES: readonly [{
|
|
|
18748
18702
|
}, {
|
|
18749
18703
|
readonly key: "react-hooks-js/set-state-in-effect";
|
|
18750
18704
|
readonly source: "react-compiler";
|
|
18751
|
-
readonly severity: "
|
|
18705
|
+
readonly severity: "warn";
|
|
18752
18706
|
}, {
|
|
18753
18707
|
readonly key: "react-hooks-js/globals";
|
|
18754
18708
|
readonly source: "react-compiler";
|