Open mmkal opened 4 years ago
Hi @mmkal!
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
From the docs for no-restricted-disable, it doesn't look like it's possible to do something like this:
This would allow disabling warnings, but not errors (in the above setup,
no-restricted-disable
itself is a warning, so errors could still be disabled in exceptional circumstances, but we'd be forced to be very explicit, with something likeThis would make the difference between warnings and errors meaningful in setups that use
--max-warnings 0
.