jsdoc/match-description
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/match-description": "error",
},
},
];/**
* über die Eingabe.
*/
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/match-description
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/match-description": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforces minimum number of newlines before JSDoc comment blocks
Reports the name portion of a JSDoc tag if matching or not matching a given regular expression.
Converts non-JSDoc comments preceding or following nodes into JSDoc ones
Reports when certain comment structures are always expected.
@deprecated - Use getJsdocProcessorPlugin processor; ensures that (JavaScript) samples within @example tags adhere to ESLint rules.