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

require-description doesn't detect spaced out multiline comments #247

Open
ravindUwU opened this issue Dec 27, 2024 · 0 comments
Open

require-description doesn't detect spaced out multiline comments #247

ravindUwU opened this issue Dec 27, 2024 · 0 comments

Comments

@ravindUwU
Copy link

ravindUwU commented Dec 27, 2024

While require-description correctly detects // eslint-disable-next-line ... and /* eslint-disable-next-line ... */ comments, it doesn't seem to work with multiline comments formatted like:

/*
	eslint-disable-next-line ...
*/

I use this formatting when the description is very long, or project conventions suggest wrapping code at a certain number of characters:

/*
	eslint-disable-next-line ... --
	Long description goes here, instead of on the preceding line.
*/

Reproduced at: https://stackblitz.com/edit/ravinduwu-gh-eslint-comments-247?file=index.js

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

No branches or pull requests

1 participant