UNPKG

canonical

Version:

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

26 lines (18 loc) 308 B
### `require-returns-description` Ensures a `@returns` description exists. The following patterns are considered problems: ```js /** * @returns {string} */ function quux () { } ``` The following patterns are not considered problems: ```js /** * @returns {string} Quux. */ function quux () { } ```