react-doctor 0.5.6-dev.431e515 → 0.5.6-dev.44db3e0
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 +605 -366
- package/dist/index.d.ts +10 -0
- package/dist/index.js +237 -182
- package/dist/lsp.js +255 -204
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -9794,6 +9794,16 @@ interface JsonReportProjectEntry {
|
|
|
9794
9794
|
skippedChecks: string[];
|
|
9795
9795
|
/** Human-readable explanation per skipped check. See `InspectResult.skippedCheckReasons`. */
|
|
9796
9796
|
skippedCheckReasons?: Record<string, string>;
|
|
9797
|
+
/**
|
|
9798
|
+
* Number of source files this scan's linter examined. In diff / changed
|
|
9799
|
+
* mode it's the count of changed React-eligible files (`.tsx`/`.jsx` plus
|
|
9800
|
+
* framework entry files); in a full scan it's the whole source tree. `0`
|
|
9801
|
+
* in a diff scan means the changed files held nothing React Doctor lints —
|
|
9802
|
+
* the GitHub Action reads that as "nothing to report" (skips the PR comment;
|
|
9803
|
+
* the commit status says "skipped"). Optional: absent on reports from
|
|
9804
|
+
* constructors that don't track it (e.g. `toJsonReport`).
|
|
9805
|
+
*/
|
|
9806
|
+
scannedFileCount?: number;
|
|
9797
9807
|
elapsedMilliseconds: number;
|
|
9798
9808
|
}
|
|
9799
9809
|
interface JsonReportSummary {
|