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

Option to put explanation on the same line as the disable #12

Open
NickHeiner opened this issue Sep 21, 2022 · 0 comments
Open

Option to put explanation on the same line as the disable #12

NickHeiner opened this issue Sep 21, 2022 · 0 comments

Comments

@NickHeiner
Copy link
Owner

If you have:

// comment
// eslint-disable my-rule

And the violation is fixed, then running eslint --fix will remove the second line of the comment but not the first. This leaves the explanatory comment with nothing to explain, which is confusing.

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

1 participant