Skip to content

JSDoc: Add missing params to fix new ESLint errors #22907

@ocean90

Description

@ocean90

This is a follow-up for #22771 which introduced a new version of eslint-plugin-jsdoc. There are two rules which are more strict now:

  • jsdoc/require-param
  • jsdoc/check-param-name

The rules have been reduced to a warning for now with the intend to get them fixed asap since the errors are valid. #22794 is an example for an already fixed case.

Current result of npm run lint-js:

✖ 215 problems (0 errors, 215 warnings)
  0 errors and 129 warnings potentially fixable with the `--fix` option.

List of files with errors:


Hint from @gziolo:

I executed npm run lint-js -- --fix and it adds all those missing params but they miss types and description. Still, it seems like a good way to speed up process :)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions