jsdoc/no-blank-blocks
eslint-plugin-jsdoc
Safe autofix
eslint.config.js
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/no-blank-blocks": "error",
},
},
];/** *//** @tag */Examples from the ESLint documentation.
jsdoc/no-blank-blocks
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/no-blank-blocks": "error",
},
},
];jsdoc/no-blank-blocks
jsdoc plugin · style
{
"plugins": [
"jsdoc"
],
"rules": {
"jsdoc/no-blank-blocks": "error"
}
}Biome does not have this rule.
This rule reports types being used on @param or @returns (redundant with TypeScript).
Requires a description for @throws tags
Requires a description for @yields tags
Reports invalid alignment of JSDoc block lines.
Reports against syntax not valid for the mode (e.g., Google Closure Compiler in non-Closure mode).