From 737c9ad816b5cebc948979c477a8a48648d1019b Mon Sep 17 00:00:00 2001 From: commitay Date: Tue, 18 Sep 2018 10:30:59 +1000 Subject: [PATCH 1/2] Library/.rubocop.yml: disable `RescueEnsureAlignment` --- Library/.rubocop.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 4159a6eb29..67b37c111c 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -51,6 +51,11 @@ Layout/Tab: Layout/EmptyLineAfterGuardClause: Enabled: false +# Auto-correct is broken (https://github.com/rubocop-hq/rubocop/issues/6258) +# and layout is not configurable (https://github.com/rubocop-hq/rubocop/issues/6254). +Layout/RescueEnsureAlignment: + Enabled: false + # favour parens-less DSL-style arguments Lint/AmbiguousBlockAssociation: Enabled: false From b3e39014c97572cebca680418565f1264f76938d Mon Sep 17 00:00:00 2001 From: commitay Date: Tue, 18 Sep 2018 13:20:28 +1000 Subject: [PATCH 2/2] Library/Homebrew/.rubocop.yml: remove `RescueEnsureAlignment` --- Library/Homebrew/.rubocop.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index daf631a039..da003e380b 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -97,11 +97,6 @@ Naming/UncommunicativeMethodParamName: - 'to' - 'v' -# Auto-correct is broken (https://github.com/rubocop-hq/rubocop/issues/6258) -# and layout is not configurable (https://github.com/rubocop-hq/rubocop/issues/6254). -Layout/RescueEnsureAlignment: - Enabled: false - # Avoid false positives on modifiers used on symbols of methods # See https://github.com/rubocop-hq/rubocop/issues/5953 Style/AccessModifierDeclarations: