From 3fb4ecef5ee89e78592f4658b904c84ff98df953 Mon Sep 17 00:00:00 2001 From: Ferran Pelayo Monfort Date: Wed, 3 Apr 2024 12:09:59 +0200 Subject: [PATCH] feat: add Layout/AccessModifierIndentation (#22) --- default.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default.yml b/default.yml index 462f2dc..0c053f2 100644 --- a/default.yml +++ b/default.yml @@ -58,6 +58,11 @@ Style/NestedModifier: Style/SoleNestedConditional: Enabled: true +# https://docs.rubocop.org/rubocop/cops_layout.html#layoutaccessmodifierindentation +Layout/AccessModifierIndentation: + EnforcedStyle: outdent + Severity: info + # Align `when` with `case`. Layout/CaseIndentation: Enabled: true