UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

38 lines (27 loc) 409 B
### `require-param-description` Ensures a param description exists. The following patterns are considered problems: ```js /** * @param {string} foo */ function quux (foo) {} /** * @param foo */ function quux (foo) { } ``` The following patterns are not considered problems: ```js /** * @param {string} foo Foo. */ function quux (foo) { } /** * @param foo Foo. */ function quux (foo) { } ```