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
build(deps): bump rubocop from 0.81.0 to 0.82.0 in /Library/Homebrew #7377
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,19 @@ FormulaAudit: | |
FormulaAuditStrict: | ||
Enabled: true | ||
|
||
# enable all pending rubocops | ||
AllCops: | ||
NewCops: enable | ||
|
||
# don't allow cops to be disabled in formulae | ||
Style/DisableCopsWithinSourceCodeDirective: | ||
Enabled: true | ||
Exclude: | ||
# TODO: really long lines but hard to resolve (but would be nice to do). | ||
- '**/Formula/libgraphqlparser.rb' | ||
# TODO: false positive in RuboCop, see if it can be worked around/fixed. | ||
- '**/Formula/rpm.rb' | ||
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you know is it reported to rubocop? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not really a bug on RuboCop's end because it is a formatting character it's just not being used as one in this context. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. May have found a fix: Homebrew/homebrew-core#53261 |
||
|
||
# make our hashes consistent | ||
Layout/HashAlignment: | ||
EnforcedHashRocketStyle: table | ||
|
@@ -46,12 +59,6 @@ Lint/AmbiguousRegexpLiteral: | |
Lint/ParenthesesAsGroupedExpression: | ||
Enabled: false | ||
|
||
# not enabled by default but nice to have | ||
Lint/RaiseException: | ||
Enabled: true | ||
Lint/StructNewOverride: | ||
Enabled: true | ||
|
||
# most metrics don't make sense to apply for formulae/taps | ||
Metrics/AbcSize: | ||
Enabled: false | ||
|
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.
We could convert those long lines to json:
If it's ok, I'll create a PR
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.
Yes, please do ❤️
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.
Homebrew/homebrew-core#53259