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

Merge branch 'main' of git-ce.rwth-aachen.de:noc-public/noc-netze-gitlab-cicd

parents 28e8654a 27a8a3ec
Branches main
No related tags found
No related merge requests found
...@@ -21,10 +21,18 @@ Gemspec/RequireMFA: ...@@ -21,10 +21,18 @@ Gemspec/RequireMFA:
# END Gemspec # END Gemspec
# 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