Skip to content
Snippets Groups Projects
Commit 27a8a3ec authored by Darius Schneider's avatar Darius Schneider
Browse files

update rubocop for gem

parent 58688e29
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,18 @@ Gemspec/RequireMFA:
# END Gemspec
# BEGIN Layout
# align case with its 'end' to forbid deep indentation and be consistent with variable assignments
Layout/CaseIndentation:
EnforcedStyle: end # default: case
# only before, enforcing also after adds too many blank lines
Layout/EmptyLinesAroundAccessModifier:
EnforcedStyle: only_before # default: around
# prevent unnecessary deep indentation by enforcing 'end' to be at the start of the line
Layout/EndAlignment:
EnforcedStyleAlignWith: start_of_line # default: keyword
# indent first element one level deeper than the 'parent'
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent # default: special_inside_parentheses
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment