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

A way to show silenced errors #398

Open
samueljsb opened this issue Oct 13, 2023 · 0 comments
Open

A way to show silenced errors #398

samueljsb opened this issue Oct 13, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@samueljsb
Copy link
Contributor

It would be very helpful to be able to suppress the # lint-fixme comments to show those errors. In particular, this would help where an auto-fix has been added for a rule and we now want to apply that auto-fix to the violations marked with a fixme comment.

At the moment we have to remove all of the fixme comments in order to apply the new auto-fix.

flake has a --disable-noqa option, which does something similar.

Considerations:

  • should this suppress lint-ignore, too?
  • should this just be for fixes?
  • should this option cause the comment to be automatically removed once/if the fix is applied?
@amyreese amyreese added this to the 2.x milestone Oct 17, 2023
@amyreese amyreese added the enhancement New feature or request label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants