Add multiline-comment-style lint rule and fix violations
Enable multiline-comment-style with starred-block to require JSDoc-style block comments with content on separate lines from the opening delimiter. Auto-fix existing violations across the codebase. Fixes #5899 Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
1a67b6f4b3
commit
4ec85e67ba
@@ -88,6 +88,7 @@ export default tseslint.config(
|
||||
'jsdoc/check-param-names': 'warn',
|
||||
'jsdoc/no-multi-asterisks': 'warn',
|
||||
'keyword-spacing': 'warn',
|
||||
'multiline-comment-style': ['warn', 'starred-block'],
|
||||
'max-len': ['warn', {
|
||||
code: 1000,
|
||||
comments: 100,
|
||||
|
||||
Reference in New Issue
Block a user