Getting started
This plugin integrates TypeDoc-focused documentation checks directly into ESLint so doc quality issues show up alongside normal lint diagnostics.
Installโ
npm install --save-dev eslint-plugin-typedoc typedoc
Flat config setupโ
import typedocPlugin from "eslint-plugin-typedoc";
export default [
typedocPlugin.configs.recommended,
{
rules: {
"typedoc/require-param-tags": "error",
},
},
];
Choose a presetโ
typedoc.configs.minimalfor baseline TypeDoc hygiene.typedoc.configs.recommendedfor exported API + tag/link validation.typedoc.configs.markdownfor markdown-oriented output quality withtypedoc-plugin-markdown.typedoc.configs.tsdocfor TSDoc-oriented comment authoring.typedoc.configs.jsdocfor JSDoc-style comments interpreted by TypeDoc.typedoc.configs.strictfor tighter API doc completeness checks.typedoc.configs.allto enable every shipped rule.
See preset docs for the full matrix.
If you want configurable enforcement for required comments or required tags, pair this plugin with eslint-plugin-tsdoc-require-2.