detailed
Adds @remarks requirements on top of recommended for richer top-level docs.
What this preset is forâ
Use detailed when comment presence alone is not enough and each declaration needs brief narrative context.
@remarks is useful for:
- behavior caveats
- compatibility notes
- rollout/deprecation guidance
What this preset enablesâ
Compared to recommended, this adds structural pressure for richer docs without introducing broad tag policy yet.
Config keyâ
tsdocRequire.configs.detailed
Flat Config exampleâ
import tsdocRequire from "eslint-plugin-tsdoc-require-2";
export default [tsdocRequire.configs.detailed];
Trade-offsâ
- More authoring effort than
recommended. - Better long-term clarity for teams maintaining shared APIs.
If you need function-signature tags (@param, @returns, @throws) next, move to jsdoc or tsdoc.