react-doctor 0.5.8 → 0.6.0-dev.0748a4b

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;
@@ -10082,6 +10095,14 @@ interface BuildJsonReportInput {
10082
10095
  fixedCount: number;
10083
10096
  baseTotalCount: number;
10084
10097
  };
10098
+ /**
10099
+ * True when a `changed` run was intended but its baseline delta couldn't be
10100
+ * computed (no merge base — usually a shallow CI checkout — or a failed
10101
+ * base/head lint), so `diagnostics` list every finding in the changed files
10102
+ * rather than only the introduced ones. Ignored when `baseline` is set: a
10103
+ * computed baseline (v2) wins, so callers pass at most one.
10104
+ */
10105
+ baselineDegraded?: boolean;
10085
10106
  }
10086
10107
  declare const buildJsonReport: (input: BuildJsonReportInput) => JsonReport; //#endregion
10087
10108
  //#region src/build-skipped-checks.d.ts
@@ -10123,7 +10144,7 @@ declare const summarizeDiagnostics: (diagnostics: Diagnostic[], worstScore?: num
10123
10144
  * untouched so the loader sees the same plain object either way.
10124
10145
  */
10125
10146
  declare const defineConfig: (config: ReactDoctorConfig) => ReactDoctorConfig; //#endregion
10126
- //#region src/utils/group-by.d.ts
10147
+ //#region src/utils/detect-ai-training-environment.d.ts
10127
10148
  //#endregion
10128
10149
  //#region ../api/dist/index.d.ts
10129
10150
  //#region src/diagnose.d.ts