typedoc.configs.tsdoc
TypeDoc lint preset for projects authoring comments in a TSDoc-oriented style.
What this preset optimizes forโ
This preset focuses on the parts of TypeDoc comment authoring that line up most closely with canonical TSDoc usage:
- supported TypeDoc/TSDoc tag usage
- valid inline link syntax
- canonical TypeDoc spellings for package and type-parameter tags
- non-empty
@example,@remarks, and@deprecatedsections when those tags are present
It intentionally does not try to enforce exhaustive comment coverage or require every optional tag.
When to use this presetโ
Use this preset when your codebase primarily writes TSDoc-style comments and you want TypeDoc-oriented hygiene without enabling the broader completeness requirements from typedoc.configs.strict.
Companion plugin for stricter comment policiesโ
If you want configurable enforcement for required comments, required tags, or stricter policy auditing, pair this plugin with eslint-plugin-tsdoc-require-2.
That companion plugin is a better fit for exhaustive tag-presence and comment-requirement policies.
ESLint flat config exampleโ
import typedocPlugin from "eslint-plugin-typedoc";
export default [typedocPlugin.configs.tsdoc];
Rules in this presetโ
Fixlegend:๐ง= autofixable๐ก= suggestions availableโ= report only
Package documentationโ
TypeDoc package documentation: