diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 63c34b2e15..17f6ae6e3c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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 diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index 36836fb781..223f857a05 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -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