-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Remove usage of Exclude
with rubocop
#14685
Comments
Do you mean disable the rules entirely across everything ( |
Yes.
It seems these numbers just keep getting bumped anyway so: I'm not sure it's stopping anything right now and is just annoying for no real reason 😢 |
This is as done as it's gonna get! The remaining |
Great work, thanks @issyl0! |
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
When
Exclude
is used in e.g..rubocop.yml
files: these are not always handled consistently by e.g. the VSCoderubocop
integration and they aren't flagged as unnecessary when they on longer are.We should instead:
rubocop
rules we're never going to realistically fix e.g.Metrics/ClassLength
# rubocop:disable
with a reason in the file itselfWhat is the motivation for the feature?
VSCode not to flag all of
formula_installer.rb
as failingrubocop
:sweatHow will the feature be relevant to at least 90% of Homebrew users?
It wouldn't be but it will make life easier for maintainers and contributors.
What alternatives to the feature have been considered?
Fixing all these rules.
The text was updated successfully, but these errors were encountered: