Doctor · config

DOC0038Review the default doctor.config.json

The project's `doctor.config.json` selects nothing beyond Doctor's defaults: it is empty, or holds only empty `rules`, `overrides`, `suppressions`, or `exclude`, or `extends: "auto"`.
vite-doctor/coreconfiginfoNo fix
doctor/config/default-config-filesrc/core/internal/diagnostics.ts Upstream docs

Why it happens

Doctor activates Rule Packs from the project's dependencies. It only reports this Diagnostic for automatically discovered files whose removal preserves this run's settings, and it cannot see scripts or CI jobs that pass the file with --config. It skips changed-file runs, Rule selections, and analyses-only runs. include: [] and extends: [] are not defaults: they select no files or no Rules.

Fix

doctor.config.json restates Doctor's defaults; delete it unless a script or CI job passes it with --config. Add a Doctor config only when it changes rules, per-path overrides, suppressions, include or exclude globs, or Config Extends presets.

  • doctor/config/default-config-file
Copyright © 2026