mysticatea / eslint-plugin-eslint-comments

Additional ESLint rules for directive comments of ESLint.
https://mysticatea.github.io/eslint-plugin-eslint-comments/
MIT License
354 stars 44 forks source link

Allow requiring collapsed blocks for directive comments #67

Open haykam821 opened 2 years ago

haykam821 commented 2 years ago

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 commented 8 months ago

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