react-doctor 0.5.8-dev.c2ce298 → 0.5.8-dev.d241e51
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/LICENSE +14 -1
- package/README.md +9 -3
- package/dist/cli.js +9689 -1592
- package/dist/index.d.ts +11 -2
- package/dist/index.js +393 -145
- package/dist/lsp.js +339 -146
- package/package.json +7 -5
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
|
|
@@ -9726,7 +9735,7 @@ interface InspectResult {
|
|
|
9726
9735
|
* Per-file lint cache outcome: files served from cache, and total files
|
|
9727
9736
|
* considered. Both absent when the cache was off or bypassed (audit mode,
|
|
9728
9737
|
* adopted `extends`, user plugins). The CLI projects these onto the Sentry
|
|
9729
|
-
* wide event as `
|
|
9738
|
+
* wide event as `lint.cacheHitRatio`.
|
|
9730
9739
|
*/
|
|
9731
9740
|
lintCacheHitFileCount?: number | null;
|
|
9732
9741
|
lintCacheTotalFileCount?: number | null;
|
|
@@ -10123,7 +10132,7 @@ declare const summarizeDiagnostics: (diagnostics: Diagnostic[], worstScore?: num
|
|
|
10123
10132
|
* untouched so the loader sees the same plain object either way.
|
|
10124
10133
|
*/
|
|
10125
10134
|
declare const defineConfig: (config: ReactDoctorConfig) => ReactDoctorConfig; //#endregion
|
|
10126
|
-
//#region src/utils/
|
|
10135
|
+
//#region src/utils/detect-ai-training-environment.d.ts
|
|
10127
10136
|
//#endregion
|
|
10128
10137
|
//#region ../api/dist/index.d.ts
|
|
10129
10138
|
//#region src/diagnose.d.ts
|