react-doctor 0.5.8-dev.229ea2e → 0.5.8-dev.2af7322

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
@@ -9271,6 +9271,15 @@ interface ReactDoctorConfig {
9271
9271
  * suppresses regardless of sibling content.
9272
9272
  */
9273
9273
  rawTextWrapperComponents?: string[];
9274
+ /**
9275
+ * Capitalized identifiers that exist at runtime but aren't imported in
9276
+ * the file that uses them — react-live's `<LiveProvider scope={...}>`,
9277
+ * Storybook globals, MDX live blocks, or an ambient `declare global` in a
9278
+ * separate `.d.ts`. The single-file `jsx-no-undef` rule can't see those
9279
+ * bindings and would report `<DatePicker />` as an undefined JSX component.
9280
+ * List the injected names here and `jsx-no-undef` treats them as known.
9281
+ */
9282
+ runtimeGlobals?: string[];
9274
9283
  /**
9275
9284
  * Project-level allowlist of function names that the
9276
9285
  * `server-auth-actions` rule treats as an auth check at the top of
@@ -9377,6 +9386,10 @@ interface ReactDoctorConfig {
9377
9386
  * { "categories": { "Maintainability": "off", "Performance": "warn" } }
9378
9387
  * ```
9379
9388
  *
9389
+ * A category severity re-stamps rules that are already enabled; it
9390
+ * never activates opt-out (`defaultEnabled: false`) rules — pin the
9391
+ * rule itself under `rules` to opt in.
9392
+ *
9380
9393
  * To silence a whole tag-defined rule family (e.g. `"design"`,
9381
9394
  * `"test-noise"`, `"migration-hint"`) that doesn't align with a
9382
9395
  * single category, use `ignore.tags` instead.
@@ -9726,7 +9739,7 @@ interface InspectResult {
9726
9739
  * Per-file lint cache outcome: files served from cache, and total files
9727
9740
  * considered. Both absent when the cache was off or bypassed (audit mode,
9728
9741
  * adopted `extends`, user plugins). The CLI projects these onto the Sentry
9729
- * wide event as `lintCacheHitRatio`.
9742
+ * wide event as `lint.cacheHitRatio`.
9730
9743
  */
9731
9744
  lintCacheHitFileCount?: number | null;
9732
9745
  lintCacheTotalFileCount?: number | null;
@@ -10123,7 +10136,7 @@ declare const summarizeDiagnostics: (diagnostics: Diagnostic[], worstScore?: num
10123
10136
  * untouched so the loader sees the same plain object either way.
10124
10137
  */
10125
10138
  declare const defineConfig: (config: ReactDoctorConfig) => ReactDoctorConfig; //#endregion
10126
- //#region src/utils/group-by.d.ts
10139
+ //#region src/utils/detect-ai-training-environment.d.ts
10127
10140
  //#endregion
10128
10141
  //#region ../api/dist/index.d.ts
10129
10142
  //#region src/diagnose.d.ts