-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
: un-disabling rules with slashes
#46
Comments
great thanks, this hack saves my day! |
You just saved me hours of frustration, thanks! |
Thanks to @kaelzhang for the original discovery! |
Hi @nemoDreamer! 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 |
Hi,
I was following the examples for https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html and noticed that the underlying
ignore
package handles un-ignores after'*'
strangely.When you lock down disabling of all rules with
'*'
, you can't allowscope/rule
-type rules later, unless you explicitly allow'*/'
.I finally found my answer in the fixtures of https://github.com/kaelzhang/node-ignore 😆
Here's a snippet to recreate:
The text was updated successfully, but these errors were encountered: