jsdoc/normalize-see-links
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/normalize-see-links": "error",
},
},
];Normalizes labeled links in @see tags to a canonical {@link} form.
/**
* @see [Docs](https://api.example.com/v1?ids=1|2|3)
*//**
* @see {@link https://example.com/api|See {options\}}
*/Examples from the ESLint documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
jsdoc/normalize-see-links
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/normalize-see-links": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Reports redundant @type tags that match or broaden the naturally inferred TypeScript type.
Requires that block description, explicit @description, and @param/@returns tag descriptions are written in complete sentences.
Reports when certain comment structures are always expected.
Requires that all functions (and potentially other contexts) have examples.