react-doctor 0.5.7 → 0.5.8-dev.f4e8e4b
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/cli.js +1338 -293
- package/dist/index.d.ts +15 -1
- package/dist/index.js +912 -139
- package/dist/lsp.js +912 -139
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -9722,6 +9722,14 @@ interface InspectResult {
|
|
|
9722
9722
|
* summary to report combined scan time.
|
|
9723
9723
|
*/
|
|
9724
9724
|
scanElapsedMilliseconds?: number;
|
|
9725
|
+
/**
|
|
9726
|
+
* Per-file lint cache outcome: files served from cache, and total files
|
|
9727
|
+
* considered. Both absent when the cache was off or bypassed (audit mode,
|
|
9728
|
+
* adopted `extends`, user plugins). The CLI projects these onto the Sentry
|
|
9729
|
+
* wide event as `lintCacheHitRatio`.
|
|
9730
|
+
*/
|
|
9731
|
+
lintCacheHitFileCount?: number | null;
|
|
9732
|
+
lintCacheTotalFileCount?: number | null;
|
|
9725
9733
|
/**
|
|
9726
9734
|
* Present only for a baseline run (`InspectOptions.baseline` set). The
|
|
9727
9735
|
* `diagnostics` above are then the *introduced* findings only; this
|
|
@@ -9948,6 +9956,12 @@ declare const OxlintBatchExceeded_base: Class<OxlintBatchExceeded, TaggedStruct<
|
|
|
9948
9956
|
declare class OxlintBatchExceeded extends OxlintBatchExceeded_base {
|
|
9949
9957
|
get message(): string;
|
|
9950
9958
|
}
|
|
9959
|
+
declare const ScanDeadlineExceeded_base: Class<ScanDeadlineExceeded, TaggedStruct<"ScanDeadlineExceeded", {
|
|
9960
|
+
readonly detail: String;
|
|
9961
|
+
}>, YieldableError>;
|
|
9962
|
+
declare class ScanDeadlineExceeded extends ScanDeadlineExceeded_base {
|
|
9963
|
+
get message(): string;
|
|
9964
|
+
}
|
|
9951
9965
|
declare const OxlintSpawnFailed_base: Class<OxlintSpawnFailed, TaggedStruct<"OxlintSpawnFailed", {
|
|
9952
9966
|
readonly cause: Unknown;
|
|
9953
9967
|
}>, YieldableError>;
|
|
@@ -10013,7 +10027,7 @@ declare class GitBaseBranchInvalid extends GitBaseBranchInvalid_base {
|
|
|
10013
10027
|
get message(): string;
|
|
10014
10028
|
}
|
|
10015
10029
|
declare const ReactDoctorError_base: Class<ReactDoctorError, TaggedStruct<"ReactDoctorError", {
|
|
10016
|
-
readonly reason: Union<readonly [typeof OxlintUnavailable, typeof OxlintBatchExceeded, typeof OxlintSpawnFailed, typeof OxlintOutputUnparseable, typeof ConfigParseFailed, typeof ProjectNotFound, typeof NoReactDependency, typeof AmbiguousProject, typeof DeadCodeAnalysisFailed, typeof GitInvocationFailed, typeof GitBaseBranchMissing, typeof GitBaseBranchInvalid]>;
|
|
10030
|
+
readonly reason: Union<readonly [typeof OxlintUnavailable, typeof OxlintBatchExceeded, typeof ScanDeadlineExceeded, typeof OxlintSpawnFailed, typeof OxlintOutputUnparseable, typeof ConfigParseFailed, typeof ProjectNotFound, typeof NoReactDependency, typeof AmbiguousProject, typeof DeadCodeAnalysisFailed, typeof GitInvocationFailed, typeof GitBaseBranchMissing, typeof GitBaseBranchInvalid]>;
|
|
10017
10031
|
}>, YieldableError>;
|
|
10018
10032
|
declare class ReactDoctorError extends ReactDoctorError_base {
|
|
10019
10033
|
get message(): string;
|