rubocop: enable Style/TrailingBodyOnMethodDefinition.
This is default, more consistent with Ruby style and autocorrectable. I have updated the usage in Homebrew/core to be consistent.
This commit is contained in:
parent
a401c1cd35
commit
c040331468
@ -111,10 +111,6 @@ Style/StringLiteralsInInterpolation:
|
||||
Style/TernaryParentheses:
|
||||
EnforcedStyle: require_parentheses_when_complex
|
||||
|
||||
# messes with existing plist/caveats style
|
||||
Style/TrailingBodyOnMethodDefinition:
|
||||
Enabled: false
|
||||
|
||||
# a bit confusing to non-Rubyists but useful for longer arrays
|
||||
Style/WordArray:
|
||||
MinSize: 4
|
||||
|
@ -139,7 +139,3 @@ Style/MutableConstant:
|
||||
# LineLength is low enough here to re-enable it.
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: true
|
||||
|
||||
# so many of these in formulae but none in here
|
||||
Style/TrailingBodyOnMethodDefinition:
|
||||
Enabled: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user