typedoc-strict
Stricter TypeDoc preset that also requires module remarks and denies compatibility-only block tags.
What this preset is forâ
Use typedoc-strict when you want TypeDoc-oriented declaration tagging plus stricter narrative and tag vocabulary discipline.
This preset is a good fit for:
- public SDKs with strict documentation standards
- multi-package libraries with clear module-level docs requirements
- teams that need consistent TypeDoc-friendly output with reduced tag sprawl
What this preset enablesâ
tsdoc-require-2/requiretsdoc-require-2/require-classwithenforceFor: ["class"]tsdoc-require-2/require-enumwithenforceFor: ["enum"]tsdoc-require-2/require-functionwithenforceFor: ["function"]tsdoc-require-2/require-interfacewithenforceFor: ["interface"]tsdoc-require-2/require-modulewithenforceFor: ["namespace"]tsdoc-require-2/require-remarkstsdoc-require-2/restrict-tagsin deny mode for TypeDoc compatibility tags
Why this preset is stricter than typedocâ
Compared to typedoc, this preset adds:
- module-level docs (
@module) - narrative context (
@remarks) - explicit tag vocabulary restrictions
Config keyâ
tsdocRequire.configs["typedoc-strict"]
Flat Config exampleâ
import tsdocRequire from "eslint-plugin-tsdoc-require-2";
export default [tsdocRequire.configs["typedoc-strict"]];
Common customizationâ
If your project intentionally uses some denied tags, override restrict-tags.tags with a narrower deny list instead of disabling the rule.