Skip to content

Commit

Permalink
feat: add Layout/AccessModifierIndentation (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranpm authored Apr 3, 2024
1 parent f4bc11a commit 3fb4ece
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fb4ece

Please sign in to comment.