react-doctor 0.5.8-dev.fff9466 → 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/README.md +9 -3
- package/dist/cli.js +9497 -1677
- package/dist/index.d.ts +21 -0
- package/dist/index.js +409 -302
- package/dist/lsp.js +437 -326
- package/package.json +7 -6
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.
|
|
@@ -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
|