Merge pull request #7377 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.82.0
build(deps): bump rubocop from 0.81.0 to 0.82.0 in /Library/Homebrew
This commit is contained in:
commit
88fb5ca910
@ -8,6 +8,19 @@ FormulaAudit:
|
|||||||
FormulaAuditStrict:
|
FormulaAuditStrict:
|
||||||
Enabled: true
|
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'
|
||||||
|
|
||||||
# make our hashes consistent
|
# make our hashes consistent
|
||||||
Layout/HashAlignment:
|
Layout/HashAlignment:
|
||||||
EnforcedHashRocketStyle: table
|
EnforcedHashRocketStyle: table
|
||||||
@ -46,12 +59,6 @@ Lint/AmbiguousRegexpLiteral:
|
|||||||
Lint/ParenthesesAsGroupedExpression:
|
Lint/ParenthesesAsGroupedExpression:
|
||||||
Enabled: false
|
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
|
# most metrics don't make sense to apply for formulae/taps
|
||||||
Metrics/AbcSize:
|
Metrics/AbcSize:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -8,6 +8,10 @@ AllCops:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- '**/vendor/**/*'
|
- '**/vendor/**/*'
|
||||||
|
|
||||||
|
# allow style to be disabled in non-formulae code
|
||||||
|
Style/DisableCopsWithinSourceCodeDirective:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
# Intentionally disabled as it doesn't fit with our code style.
|
# Intentionally disabled as it doesn't fit with our code style.
|
||||||
RSpec/AnyInstance:
|
RSpec/AnyInstance:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -81,7 +81,7 @@ GEM
|
|||||||
rspec-support (3.9.2)
|
rspec-support (3.9.2)
|
||||||
rspec-wait (0.0.9)
|
rspec-wait (0.0.9)
|
||||||
rspec (>= 3, < 4)
|
rspec (>= 3, < 4)
|
||||||
rubocop (0.81.0)
|
rubocop (0.82.0)
|
||||||
jaro_winkler (~> 1.5.1)
|
jaro_winkler (~> 1.5.1)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.7.0.1)
|
parser (>= 2.7.0.1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user