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 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: