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

[no-restricted-disable] should rule: off be reported as error? #48

Open
bogdan-zaharia-hs opened this issue May 28, 2020 · 1 comment
Open

Comments

@bogdan-zaharia-hs
Copy link

When enabling the no-restricted-disable rule, I guess both the following statements should be reported as errors:

/* eslint-disable max-lines */ 
/* eslint max-lines: off */

But only the first one is reported. Shouldn't the second statement be an error as well?

Thanks!

@bogdan-zaharia-hs bogdan-zaharia-hs changed the title [no-restricted-disable] should rule: off [no-restricted-disable] should rule: off be reported as error? May 28, 2020
@MichaelDeBoey
Copy link

Hi @bogdan-zaharia-hs!

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