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

Allow requiring collapsed blocks for directive comments #67

Open
haykam821 opened this issue Jan 9, 2022 · 1 comment
Open

Allow requiring collapsed blocks for directive comments #67

haykam821 opened this issue Jan 9, 2022 · 1 comment

Comments

@haykam821
Copy link

I would like to enforce directive comments to use block comment syntax on a single line, such as the following:

/* eslint-disable no-undef */

The following styles should be disallowed:

// eslint-disable no-undef
/*
  eslint-disable no-undef
*/

Comments that are not directive comments should not be affected.

@MichaelDeBoey
Copy link

Hi @haykam821!

Since this repo is unmaintained, you might want to re-open this issue in the @eslint-community fork https://github.com/eslint-community/eslint-plugin-eslint-comments

For more info about why we created this organization, you can read https://eslint.org/blog/2023/03/announcing-eslint-community-org

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

2 participants