Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line break before JSDoc blocks #1209

Open
thernstig opened this issue Feb 29, 2024 · 0 comments
Open

Line break before JSDoc blocks #1209

thernstig opened this issue Feb 29, 2024 · 0 comments

Comments

@thernstig
Copy link

Motivation

It would be nice to always force line breaks before /** blocks as code reads nicer that way, akin to chapters in a book.

Current behavior

There is no such rule.

Desired behavior

To add such rule.

Alternatives considered

https://eslint.style/rules/js/lines-around-comment exists, and maybe I should use that instead? But I wrote this anyway as this package is about specifically JSDoc. I am fine however to use https://eslint.style/rules/js/lines-around-comment if there is no interest to include it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant