Skip to content

Commit

Permalink
docs(require-returns, require-returns-check): indicate that these wil…
Browse files Browse the repository at this point in the history
…l report if multiple `returns` tags are present
  • Loading branch information
brettz9 committed Jul 13, 2019
1 parent 4b97157 commit e52d763
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .README/rules/require-returns-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Checks if the return expression exists in function body and in the comment.

Will also report if multiple `@returns` tags are present.

|||
|---|---|
|Context|`ArrowFunctionExpression`, `FunctionDeclaration`, `FunctionExpression`|
Expand Down
2 changes: 2 additions & 0 deletions .README/rules/require-returns.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Requires returns are documented.

Will also report if multiple `@returns` tags are present.

#### Options

- `exemptedBy` - Array of tags (e.g., `['type']`) whose presence on the document
Expand Down

0 comments on commit e52d763

Please sign in to comment.