Skip to content

Commit

Permalink
Change jsdoc/multiline-blocks to a warning
Browse files Browse the repository at this point in the history
jsdoc/multiline-blocks is fixable
  • Loading branch information
amikheychik committed Jan 5, 2025
1 parent fd9a96d commit ac20c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rules/jsdoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Additional tags defined: `final`, `flags`, `sealed`, `workaround`.
| `link:{eslint-jsdoc-rules}/multiline-blocks.md[jsdoc/multiline-blocks]`
| Yes
|
| Error
| Warning
4+| Allows `@lends`, `@type`, and `@deprecated` tags to be single-line JSDocs.

| `link:{eslint-jsdoc-rules}/no-bad-blocks.md[jsdoc/no-bad-blocks]`
Expand Down
2 changes: 1 addition & 1 deletion src/rules/jsdoc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const jsdocConfig = {
'jsdoc/lines-before-block': 'off',
'jsdoc/match-description': 'error',
'jsdoc/match-name': 'off',
'jsdoc/multiline-blocks': ['error', {
'jsdoc/multiline-blocks': ['warn', {
noZeroLineText: true,
noFinalLineText: true,
noSingleLineBlocks: true,
Expand Down

0 comments on commit ac20c68

Please sign in to comment.