-
-
Notifications
You must be signed in to change notification settings - Fork 426
expiring-todo-comments: should not flag eslint disable comments
#2828
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
base: main
Are you sure you want to change the base?
expiring-todo-comments: should not flag eslint disable comments
#2828
Conversation
expiring-todo-comments: should not flag eslint disable comments
7690333 to
d0df7af
Compare
fisker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@Vladyslav-Soldatenko Turns out there is an |
| context.on('Program', function * () { | ||
| for (const directive of getEslintDisableDirectives(context)) { | ||
| if (directive.value) { | ||
| continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug, using return instead of continue, introduced by me in #2571
|
Hi, @fisker. Are there any plans when the fix will be merged? Thanks |
fix for #2745