Merge pull request #7171 from MikeMcQuaid/rubocop-trailing-body
rubocop: enable Style/TrailingBodyOnMethodDefinition.
This commit is contained in:
commit
8fa2d151dd
@ -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