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

Ability to ignore warnings of certain types #14

Open
TSMMark opened this issue May 25, 2021 · 0 comments
Open

Ability to ignore warnings of certain types #14

TSMMark opened this issue May 25, 2021 · 0 comments

Comments

@TSMMark
Copy link

TSMMark commented May 25, 2021

Wondering if it would be possible to add a rubocop.yml config option to ignore or exclude certain warning types?

Jeremy Evans has this gem called warning: https://rubygems.org/gems/warning which appears to have a few nice features, mainly:

ability to ignore specific warning messages

e.g. Warning.ignore(:missing_ivar)

Maybe this gem could introduce some similar option, either copying some of the code from warning gem, or adding warning gem as a dep of rubocop-rubycw. warning gem does not appear to have any dependencies so it should be a pretty light addition.

Thoughts?

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