jsdoc/require-param-name
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/require-param-name": "error",
},
},
];/**
* @param
*/
function quux (foo) {/**
* @param foo
*/
function quux (foo) {Examples from the ESLint documentation.
jsdoc/require-param-name
eslint-plugin-jsdoc
import jsdoc from "eslint-plugin-jsdoc";
export default [
{
plugins: { jsdoc },
rules: {
"jsdoc/require-param-name": "error",
},
},
];jsdoc/require-param-name
jsdoc plugin · pedantic
{
"plugins": [
"jsdoc"
],
"rules": {
"jsdoc/require-param-name": "error"
}
}Biome does not have this rule.
Prohibits use of @implements on non-constructor functions (to enforce the tag only being used on classes/constructors).
Requires that all @typedef and @namespace tags have @property when their type is a plain object, Object, or PlainObject.
Checks tags that are expected to be empty (e.g., @abstract or @async), reporting if they have content
Requires that each @property tag has a description value.
Ensures that property names in JSDoc are not duplicated on the same block and that nested properties have defined roots.
Requires that all @property tags have names.