jsdoc/no-missing-syntax
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/no-missing-syntax": "error",
},
},
];/**
* @implements {Bar|Foo}
*/
function quux () {/**
* @implements {Bar|Foo}
*/
function quux () {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/no-missing-syntax
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/no-missing-syntax": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Reports the name portion of a JSDoc tag if matching or not matching a given regular expression.
Reports redundant @type tags that match or broaden the naturally inferred TypeScript type.
Enforces minimum number of newlines before JSDoc comment blocks
Normalizes labeled links in @see tags to a canonical {@link} form.