Skip to content

Commit

Permalink
fix(multiline-blocks): Enable (noZeroLineText and `noFinalLineTex…
Browse files Browse the repository at this point in the history
…t` will apply by default)

BREAKING CHANGE:

Should have been enabled by default

Also adds newer rules to doc listing
  • Loading branch information
brettz9 committed May 24, 2021
1 parent 7cc6802 commit b81e25d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .README/README.md
Expand Up @@ -58,9 +58,13 @@ Finally, enable all of the rules that you would like to use.
"jsdoc/empty-tags": 1, // Recommended
"jsdoc/implements-on-classes": 1, // Recommended
"jsdoc/match-description": 1,
"jsdoc/multiline-blocks": 1, // Recommended
"jsdoc/newline-after-description": 1, // Recommended
"jsdoc/no-bad-blocks": 1,
"jsdoc/no-defaults": 1,
"jsdoc/no-missing-syntax": 1,
"jsdoc/no-multi-asterisks": 1, // Recommended
"jsdoc/no-restricted-syntax": 1,
"jsdoc/no-types": 1,
"jsdoc/no-undefined-types": 1, // Recommended
"jsdoc/require-asterisk-prefix": 1,
Expand All @@ -85,6 +89,7 @@ Finally, enable all of the rules that you would like to use.
"jsdoc/require-throws": 1,
"jsdoc/require-yields": 1, // Recommended
"jsdoc/require-yields-check": 1, // Recommended
"jsdoc/tag-lines": 1, // Recommended
"jsdoc/valid-types": 1 // Recommended
}
}
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -123,9 +123,13 @@ Finally, enable all of the rules that you would like to use.
"jsdoc/empty-tags": 1, // Recommended
"jsdoc/implements-on-classes": 1, // Recommended
"jsdoc/match-description": 1,
"jsdoc/multiline-blocks": 1, // Recommended
"jsdoc/newline-after-description": 1, // Recommended
"jsdoc/no-bad-blocks": 1,
"jsdoc/no-defaults": 1,
"jsdoc/no-missing-syntax": 1,
"jsdoc/no-multi-asterisks": 1, // Recommended
"jsdoc/no-restricted-syntax": 1,
"jsdoc/no-types": 1,
"jsdoc/no-undefined-types": 1, // Recommended
"jsdoc/require-asterisk-prefix": 1,
Expand All @@ -150,6 +154,7 @@ Finally, enable all of the rules that you would like to use.
"jsdoc/require-throws": 1,
"jsdoc/require-yields": 1, // Recommended
"jsdoc/require-yields-check": 1, // Recommended
"jsdoc/tag-lines": 1, // Recommended
"jsdoc/valid-types": 1 // Recommended
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -65,7 +65,7 @@ export default {
'jsdoc/empty-tags': 'warn',
'jsdoc/implements-on-classes': 'warn',
'jsdoc/match-description': 'off',
'jsdoc/multiline-blocks': 'off',
'jsdoc/multiline-blocks': 'warn',
'jsdoc/newline-after-description': 'warn',
'jsdoc/no-bad-blocks': 'off',
'jsdoc/no-defaults': 'off',
Expand Down

0 comments on commit b81e25d

Please sign in to comment.