Skip to content

Commit

Permalink
docs(check-param-names): clarify rule description
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Oct 27, 2022
1 parent 94f784f commit e60c70f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .README/rules/check-param-names.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### `check-param-names`

Ensures that parameter names in JSDoc match those in the function declaration.
Ensures that parameter names in JSDoc are matched by corresponding items in
the function declaration.

#### Destructuring

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2788,7 +2788,8 @@ const fn = ( a, b ) => {};
<a name="eslint-plugin-jsdoc-rules-check-param-names"></a>
### <code>check-param-names</code>

Ensures that parameter names in JSDoc match those in the function declaration.
Ensures that parameter names in JSDoc are matched by corresponding items in
the function declaration.

<a name="user-content-eslint-plugin-jsdoc-rules-check-param-names-destructuring"></a>
<a name="eslint-plugin-jsdoc-rules-check-param-names-destructuring"></a>
Expand Down

0 comments on commit e60c70f

Please sign in to comment.