9
9
- ' lib/truffle/socket/mri.rb' # taken from MRI
10
10
- ' lib/truffle/ffi/library.rb' # taken from FFI gem
11
11
12
- # Type 'Style ' (166):
12
+ # Type 'Layout ' (166):
13
13
# Supports --auto-correct
14
- Style /TrailingBlankLines :
14
+ Layout /TrailingBlankLines :
15
15
Description : Checks trailing blank lines and final newline.
16
16
StyleGuide : " #newline-eof"
17
17
Enabled : true
@@ -21,7 +21,7 @@ Style/TrailingBlankLines:
21
21
- final_blank_line
22
22
23
23
# Supports --auto-correct
24
- Style /TrailingWhitespace :
24
+ Layout /TrailingWhitespace :
25
25
Description : Avoid trailing whitespace.
26
26
StyleGuide : " #no-trailing-whitespace"
27
27
Enabled : true
@@ -44,7 +44,7 @@ Lint/AmbiguousRegexpLiteral:
44
44
Enabled : true
45
45
46
46
# Supports --auto-correct
47
- Lint /BlockAlignment :
47
+ Layout /BlockAlignment :
48
48
Description : Align block ends correctly.
49
49
Enabled : true
50
50
EnforcedStyleAlignWith : either
@@ -58,7 +58,7 @@ Lint/CircularArgumentReference:
58
58
should not refer back to the name of the argument.
59
59
Enabled : true
60
60
61
- Lint /ConditionPosition :
61
+ Layout /ConditionPosition :
62
62
Description : Checks for condition placed in a confusing position relative to the keyword.
63
63
StyleGuide : " #same-line-condition"
64
64
Enabled : true
@@ -69,7 +69,7 @@ Lint/Debugger:
69
69
Enabled : true
70
70
71
71
# Supports --auto-correct
72
- Lint /DefEndAlignment :
72
+ Layout /DefEndAlignment :
73
73
Description : Align ends corresponding to defs correctly.
74
74
Enabled : true
75
75
EnforcedStyleAlignWith : start_of_line
@@ -122,7 +122,7 @@ Lint/EmptyWhen:
122
122
Enabled : false
123
123
124
124
# Supports --auto-correct
125
- Lint /EndAlignment :
125
+ Layout /EndAlignment :
126
126
Description : Align ends correctly.
127
127
Enabled : true
128
128
EnforcedStyleAlignWith : keyword
@@ -331,20 +331,20 @@ Lint/Void:
331
331
Description : Possible use of operator/literal/variable in void context.
332
332
Enabled : false # Triggers for any return value for #initialize and #[]=
333
333
334
- # ################### Style ###########################
334
+ # ################### Layout ###########################
335
335
336
336
# Supports --auto-correct
337
337
Style/BlockDelimiters :
338
338
Enabled : true
339
339
340
- Style /CaseIndentation :
340
+ Layout /CaseIndentation :
341
341
Enabled : true
342
342
EnforcedStyle : ' end'
343
343
344
- Style /IndentationConsistency :
344
+ Layout /IndentationConsistency :
345
345
Enabled : true
346
346
347
- Style /IndentationWidth :
347
+ Layout /IndentationWidth :
348
348
Enabled : true
349
349
350
350
# Supports --auto-correct
0 commit comments