upgrade to Rubocop 0.57.1
This commit is contained in:
parent
0d33aba0b7
commit
f99d7b29ef
@ -3,6 +3,7 @@ inherit_from:
|
||||
|
||||
AllCops:
|
||||
Include:
|
||||
- '**/*.rb'
|
||||
- 'Library/Homebrew/.simplecov'
|
||||
Exclude:
|
||||
- 'bin/*'
|
||||
@ -13,6 +14,10 @@ Layout/MultilineMethodCallIndentation:
|
||||
Exclude:
|
||||
- '**/*_spec.rb'
|
||||
|
||||
# Gets false positives with our heredocs nested inside arrays
|
||||
Layout/ClosingHeredocIndentation:
|
||||
Enabled: false
|
||||
|
||||
# so many of these in formulae but none in here
|
||||
Lint/AmbiguousRegexpLiteral:
|
||||
Enabled: true
|
||||
@ -72,6 +77,11 @@ Naming/PredicateName:
|
||||
Naming/UncommunicativeMethodParamName:
|
||||
Enabled: false
|
||||
|
||||
# I'm not sure how to correct these, and seems to get false positives on
|
||||
# modifiers used on symbols of methods
|
||||
Style/AccessModifierDeclarations:
|
||||
Enabled: false
|
||||
|
||||
Style/BlockDelimiters:
|
||||
Exclude:
|
||||
- '**/*_spec.rb'
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# RuboCop version used for `brew style` and `brew cask style`
|
||||
HOMEBREW_RUBOCOP_VERSION = "0.55.0"
|
||||
HOMEBREW_RUBOCOP_VERSION = "0.57.1"
|
||||
HOMEBREW_RUBOCOP_CASK_VERSION = "~> 0.19.0" # has to be updated when RuboCop version changes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user