Skip to content

Commit 4e41d0c

Browse files
committed
Extract layout from style
1 parent 64fcb6a commit 4e41d0c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.rubocop.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Layout/AccessModifierIndentation:
2+
EnforcedStyle: outdent
3+
4+
Layout/CaseIndentation:
5+
EnforcedStyle: end
6+
7+
Layout/DotPosition:
8+
EnforcedStyle: trailing
9+
10+
Layout/SpaceInsideHashLiteralBraces:
11+
EnforcedStyle: no_space
12+
13+
Layout/TrailingWhitespace:
14+
Enabled: false
15+
116
Lint/EndAlignment:
217
EnforcedStyleAlignWith: variable
318

@@ -27,25 +42,16 @@ Metrics/ParameterLists:
2742
Metrics/PerceivedComplexity:
2843
Max: 28 # TODO: Lower to 7
2944

30-
Style/AccessModifierIndentation:
31-
EnforcedStyle: outdent
32-
3345
Style/CollectionMethods:
3446
PreferredMethods:
3547
map: 'collect'
3648
reduce: 'inject'
3749
find: 'detect'
3850
find_all: 'select'
3951

40-
Style/CaseIndentation:
41-
EnforcedStyle: end
42-
4352
Style/Documentation:
4453
Enabled: false
4554

46-
Style/DotPosition:
47-
EnforcedStyle: trailing
48-
4955
Style/DoubleNegation:
5056
Enabled: false
5157

@@ -68,11 +74,5 @@ Style/RegexpLiteral:
6874
Style/FrozenStringLiteralComment:
6975
Enabled: false
7076

71-
Style/SpaceInsideHashLiteralBraces:
72-
EnforcedStyle: no_space
73-
7477
Style/TrailingCommaInLiteral:
7578
EnforcedStyleForMultiline: 'comma'
76-
77-
Style/TrailingWhitespace:
78-
Enabled: false

0 commit comments

Comments
 (0)