Skip to content

Commit

Permalink
docs: update rule docs to reflect if they are recommended correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudNStoyan authored and brettz9 committed Nov 7, 2024
1 parent a23977e commit 873eae4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .README/rules/check-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Also reports:
|---|---|
|Context|everywhere|
|Tags|`@access`|
|Recommended|false|
|Recommended|true|
|Settings||
|Options||

Expand Down
2 changes: 1 addition & 1 deletion .README/rules/lines-before-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ lines before the block will not be added).
|---|---|
|Context|everywhere|
|Tags|N/A|
|Recommended|true|
|Recommended|false|
|Settings||
|Options|`excludedTags`, `ignoreSameLine`, `lines`|

Expand Down
2 changes: 1 addition & 1 deletion .README/rules/no-defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ section of our README for more on the expected format.
|Context|`ArrowFunctionExpression`, `FunctionDeclaration`, `FunctionExpression`; others when `contexts` option enabled|
|Tags|`param`, `default`|
|Aliases|`arg`, `argument`, `defaultvalue`|
|Recommended|false|
|Recommended|true|
|Options|`contexts`, `noOptionalParamNames`|

## Failing examples
Expand Down
1 change: 1 addition & 0 deletions .README/rules/require-asterisk-prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ which applies to the main jsdoc block description.
|---|---|
|Context|everywhere|
|Tags|All or as limited by the `tags` option|
|Recommended|false|
|Options|string ("always", "never", "any") followed by object with `tags`|

## Failing examples
Expand Down
2 changes: 1 addition & 1 deletion .README/rules/require-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Defaults to `false`.
|---|---|
|Context|everywhere|
|Tags|`template`|
|Recommended|true|
|Recommended|false|
|Settings||
|Options|`requireSeparateTemplates`|

Expand Down
2 changes: 1 addition & 1 deletion .README/rules/require-throws.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on why TypeScript doesn't offer such a feature.
| Context | `ArrowFunctionExpression`, `FunctionDeclaration`, `FunctionExpression`; others when `contexts` option enabled |
| Tags | `throws` |
| Aliases | `exception` |
|Recommended|true|
|Recommended|false|
| Options |`contexts`, `exemptedBy`|
| Settings | `ignoreReplacesDocs`, `overrideReplacesDocs`, `augmentsExtendsReplacesDocs`, `implementsReplacesDocs` |

Expand Down

0 comments on commit 873eae4

Please sign in to comment.