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

update rubocop file

parent 658bd6f0
Branches
No related tags found
No related merge requests found
...@@ -15,10 +15,18 @@ AllCops: ...@@ -15,10 +15,18 @@ AllCops:
# BEGIN Customizations # BEGIN Customizations
# BEGIN Layout # 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 # only before, enforcing also after adds too many blank lines
Layout/EmptyLinesAroundAccessModifier: Layout/EmptyLinesAroundAccessModifier:
EnforcedStyle: only_before # default: around 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' # indent first element one level deeper than the 'parent'
Layout/FirstArrayElementIndentation: Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent # default: special_inside_parentheses 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