oxlint-plugin-react-doctor 0.5.7-dev.9f733f7 → 0.5.8-dev.31c0657

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 CHANGED
@@ -16641,6 +16641,9 @@ declare const REACT_COMPILER_RULES: Record<string, OxlintRuleSeverity>;
16641
16641
  //#region src/plugin/constants/style.d.ts
16642
16642
  declare const MOTION_LIBRARY_PACKAGES: Set<string>;
16643
16643
  //#endregion
16644
+ //#region src/plugin/constants/cross-file-rule-ids.d.ts
16645
+ declare const CROSS_FILE_RULE_IDS: ReadonlySet<string>;
16646
+ //#endregion
16644
16647
  //#region src/plugin/rules/security-scan/utils/classify-security-scan-file.d.ts
16645
16648
  interface SecurityScanFileClassification {
16646
16649
  readonly bucket: "priority" | "artifact" | "other";
@@ -16654,5 +16657,5 @@ declare const REACT_NATIVE_DEPENDENCY_NAMES: ReadonlySet<string>;
16654
16657
  declare const REACT_NATIVE_DEPENDENCY_PREFIXES: ReadonlyArray<string>;
16655
16658
  declare const isReactNativeDependencyName: (dependencyName: string) => boolean;
16656
16659
  //#endregion
16657
- export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, 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, classifySecurityScanFile, plugin as default, isReactNativeDependencyName, shouldReadSecurityScanContent };
16660
+ export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_RULE_IDS, 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, classifySecurityScanFile, plugin as default, isReactNativeDependencyName, shouldReadSecurityScanContent };
16658
16661
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -42530,6 +42530,15 @@ const ALL_REACT_DOCTOR_RULE_KEYS = new Set(REACT_DOCTOR_RULES.map((rule) => rule
42530
42530
  const FRAMEWORK_SPECIFIC_RULE_KEYS = collectFrameworkSpecificRuleKeys();
42531
42531
  const REACT_COMPILER_RULES = toRuleMap(collectExternalRulesBySource("react-compiler"));
42532
42532
  //#endregion
42533
+ //#region src/plugin/constants/cross-file-rule-ids.ts
42534
+ const CROSS_FILE_RULE_IDS = new Set([
42535
+ "no-barrel-import",
42536
+ "nextjs-missing-metadata",
42537
+ "nextjs-no-use-search-params-without-suspense",
42538
+ "no-mutating-reducer-state",
42539
+ "rn-prefer-expo-image"
42540
+ ]);
42541
+ //#endregion
42533
42542
  //#region src/plugin/rules/security-scan/utils/is-probably-text-file.ts
42534
42543
  const isProbablyTextFile = (relativePath) => TEXT_FILE_PATTERN.test(relativePath) || DOTENV_FILE_PATTERN.test(relativePath);
42535
42544
  //#endregion
@@ -42555,6 +42564,6 @@ const shouldReadSecurityScanContent = (relativePath, isGeneratedBundle) => isGen
42555
42564
  //#region src/index.ts
42556
42565
  var src_default = plugin;
42557
42566
  //#endregion
42558
- export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, EXTERNAL_RULES, FRAMEWORK_SPECIFIC_RULE_KEYS, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, PREACT_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, classifySecurityScanFile, src_default as default, isReactNativeDependencyName, shouldReadSecurityScanContent };
42567
+ export { ALL_REACT_DOCTOR_RULES, ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_RULE_IDS, EXTERNAL_RULES, FRAMEWORK_SPECIFIC_RULE_KEYS, MOTION_LIBRARY_PACKAGES, NEXTJS_RULES, PREACT_RULES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, REACT_NATIVE_RULES, RECOMMENDED_RULES, RULES, TANSTACK_QUERY_RULES, TANSTACK_START_RULES, classifySecurityScanFile, src_default as default, isReactNativeDependencyName, shouldReadSecurityScanContent };
42559
42568
 
42560
42569
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint-plugin-react-doctor",
3
- "version": "0.5.7-dev.9f733f7",
3
+ "version": "0.5.8-dev.31c0657",
4
4
  "description": "oxlint plugin for React Doctor: diagnose React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
5
5
  "keywords": [
6
6
  "accessibility",