oxlint-plugin-react-doctor 0.7.1 → 0.7.2
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 -1
- package/dist/index.js +10197 -1714
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2294,6 +2294,28 @@ declare const REACT_DOCTOR_RULES: readonly [{
|
|
|
2294
2294
|
readonly recommendation?: string;
|
|
2295
2295
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
2296
2296
|
};
|
|
2297
|
+
}, {
|
|
2298
|
+
readonly key: "react-doctor/jsx-no-target-blank";
|
|
2299
|
+
readonly id: "jsx-no-target-blank";
|
|
2300
|
+
readonly source: "react-doctor";
|
|
2301
|
+
readonly originallyExternal: true;
|
|
2302
|
+
readonly rule: {
|
|
2303
|
+
readonly framework: "global";
|
|
2304
|
+
readonly category: "Security";
|
|
2305
|
+
readonly requires: readonly string[];
|
|
2306
|
+
readonly id: string;
|
|
2307
|
+
readonly title?: string;
|
|
2308
|
+
readonly severity: RuleSeverity;
|
|
2309
|
+
readonly disabledBy?: ReadonlyArray<string>;
|
|
2310
|
+
readonly tags?: ReadonlyArray<string>;
|
|
2311
|
+
readonly matchByOccurrence?: boolean;
|
|
2312
|
+
readonly defaultEnabled?: boolean;
|
|
2313
|
+
readonly lifecycle?: "retired";
|
|
2314
|
+
readonly scan?: FileScan;
|
|
2315
|
+
readonly committedFilesOnly?: boolean;
|
|
2316
|
+
readonly recommendation?: string;
|
|
2317
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
2318
|
+
};
|
|
2297
2319
|
}, {
|
|
2298
2320
|
readonly key: "react-doctor/jsx-no-undef";
|
|
2299
2321
|
readonly id: "jsx-no-undef";
|
|
@@ -10918,6 +10940,28 @@ declare const RULES: readonly [{
|
|
|
10918
10940
|
readonly recommendation?: string;
|
|
10919
10941
|
readonly create: (context: RuleContext) => RuleVisitors;
|
|
10920
10942
|
};
|
|
10943
|
+
}, {
|
|
10944
|
+
readonly key: "react-doctor/jsx-no-target-blank";
|
|
10945
|
+
readonly id: "jsx-no-target-blank";
|
|
10946
|
+
readonly source: "react-doctor";
|
|
10947
|
+
readonly originallyExternal: true;
|
|
10948
|
+
readonly rule: {
|
|
10949
|
+
readonly framework: "global";
|
|
10950
|
+
readonly category: "Security";
|
|
10951
|
+
readonly requires: readonly string[];
|
|
10952
|
+
readonly id: string;
|
|
10953
|
+
readonly title?: string;
|
|
10954
|
+
readonly severity: RuleSeverity;
|
|
10955
|
+
readonly disabledBy?: ReadonlyArray<string>;
|
|
10956
|
+
readonly tags?: ReadonlyArray<string>;
|
|
10957
|
+
readonly matchByOccurrence?: boolean;
|
|
10958
|
+
readonly defaultEnabled?: boolean;
|
|
10959
|
+
readonly lifecycle?: "retired";
|
|
10960
|
+
readonly scan?: FileScan;
|
|
10961
|
+
readonly committedFilesOnly?: boolean;
|
|
10962
|
+
readonly recommendation?: string;
|
|
10963
|
+
readonly create: (context: RuleContext) => RuleVisitors;
|
|
10964
|
+
};
|
|
10921
10965
|
}, {
|
|
10922
10966
|
readonly key: "react-doctor/jsx-no-undef";
|
|
10923
10967
|
readonly id: "jsx-no-undef";
|
|
@@ -17503,6 +17547,9 @@ declare const collectCrossFileDependencyProbes: (input: {
|
|
|
17503
17547
|
ruleIds: ReadonlyArray<string>;
|
|
17504
17548
|
}) => CrossFileProbeTrace | null;
|
|
17505
17549
|
//#endregion
|
|
17550
|
+
//#region src/plugin/utils/read-nearest-package-manifest.d.ts
|
|
17551
|
+
declare const resetManifestCaches: () => void;
|
|
17552
|
+
//#endregion
|
|
17506
17553
|
//#region src/plugin/rules/security-scan/utils/classify-security-scan-file.d.ts
|
|
17507
17554
|
interface SecurityScanFileClassification {
|
|
17508
17555
|
readonly bucket: "priority" | "artifact" | "other";
|
|
@@ -17516,5 +17563,5 @@ declare const REACT_NATIVE_DEPENDENCY_NAMES: ReadonlySet<string>;
|
|
|
17516
17563
|
declare const REACT_NATIVE_DEPENDENCY_PREFIXES: ReadonlyArray<string>;
|
|
17517
17564
|
declare const isReactNativeDependencyName: (dependencyName: string) => boolean;
|
|
17518
17565
|
//#endregion
|
|
17519
|
-
export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, type CrossFileProbeTrace, EXTERNAL_RULES, type EsTreeNode, FRAMEWORK_SPECIFIC_RULE_KEYS, type FileScan, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, type OxlintRuleSeverity, PREACT_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, type Rule, type RuleFramework, type RulePlugin, type RuleSeverity, type RuleVisitors, type ScanFinding, type ScannedFile, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, UNBOUNDED_CROSS_FILE_RULE_IDS, classifySecurityScanFile, collectCrossFileDependencyProbes, plugin as default, isReactNativeDependencyName, shouldReadSecurityScanContent };
|
|
17566
|
+
export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, type CrossFileProbeTrace, EXTERNAL_RULES, type EsTreeNode, FRAMEWORK_SPECIFIC_RULE_KEYS, type FileScan, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, type OxlintRuleSeverity, PREACT_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, type Rule, type RuleFramework, type RulePlugin, type RuleSeverity, type RuleVisitors, type ScanFinding, type ScannedFile, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, UNBOUNDED_CROSS_FILE_RULE_IDS, classifySecurityScanFile, collectCrossFileDependencyProbes, plugin as default, isReactNativeDependencyName, resetManifestCaches, shouldReadSecurityScanContent };
|
|
17520
17567
|
//# sourceMappingURL=index.d.ts.map
|