JSDoc baseline

Updated Jul 27, 2026

The plugin supports an optional .jsdoc-baseline.json file in the lint process working directory:

{
  "entries": ["src/example.ts#legacyFunction"]
}

Baseline entries should only isolate existing documentation debt. New code should satisfy the JSDoc rules directly, and baseline entries should be removed when functions are documented.

If the baseline file exists but cannot be read or parsed, the JSDoc rules report a lint diagnostic and continue with an empty baseline. This keeps invalid configuration visible while still reporting the underlying documentation gaps.