oxlint-plugin-react-doctor 0.8.1-dev.b4556e3 → 0.8.1-dev.c9f2c4b
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 +642 -2379
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2421,6 +2421,29 @@ 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
|
+
};
|
|
2424
2447
|
}, {
|
|
2425
2448
|
readonly key: "react-doctor/jsx-no-undef";
|
|
2426
2449
|
readonly id: "jsx-no-undef";
|
|
@@ -9414,7 +9437,7 @@ declare const EXTERNAL_RULES: readonly [{
|
|
|
9414
9437
|
}, {
|
|
9415
9438
|
readonly key: "react-hooks-js/set-state-in-effect";
|
|
9416
9439
|
readonly source: "react-compiler";
|
|
9417
|
-
readonly severity: "
|
|
9440
|
+
readonly severity: "error";
|
|
9418
9441
|
}, {
|
|
9419
9442
|
readonly key: "react-hooks-js/globals";
|
|
9420
9443
|
readonly source: "react-compiler";
|
|
@@ -11710,6 +11733,29 @@ declare const RULES: readonly [{
|
|
|
11710
11733
|
readonly recommendationFor?: (hasCapability: CapabilityQuery) => string | undefined;
|
|
11711
11734
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
11712
11735
|
};
|
|
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
|
+
};
|
|
11713
11759
|
}, {
|
|
11714
11760
|
readonly key: "react-doctor/jsx-no-undef";
|
|
11715
11761
|
readonly id: "jsx-no-undef";
|
|
@@ -18702,7 +18748,7 @@ declare const RULES: readonly [{
|
|
|
18702
18748
|
}, {
|
|
18703
18749
|
readonly key: "react-hooks-js/set-state-in-effect";
|
|
18704
18750
|
readonly source: "react-compiler";
|
|
18705
|
-
readonly severity: "
|
|
18751
|
+
readonly severity: "error";
|
|
18706
18752
|
}, {
|
|
18707
18753
|
readonly key: "react-hooks-js/globals";
|
|
18708
18754
|
readonly source: "react-compiler";
|