Skip to content

Commit ae1245e

Browse files
committed
RuboCop: Follow category moves
1 parent 2c38749 commit ae1245e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.rubocop.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ AllCops:
99
- 'lib/truffle/socket/mri.rb' # taken from MRI
1010
- 'lib/truffle/ffi/library.rb' # taken from FFI gem
1111

12-
# Type 'Style' (166):
12+
# Type 'Layout' (166):
1313
# Supports --auto-correct
14-
Style/TrailingBlankLines:
14+
Layout/TrailingBlankLines:
1515
Description: Checks trailing blank lines and final newline.
1616
StyleGuide: "#newline-eof"
1717
Enabled: true
@@ -21,7 +21,7 @@ Style/TrailingBlankLines:
2121
- final_blank_line
2222

2323
# Supports --auto-correct
24-
Style/TrailingWhitespace:
24+
Layout/TrailingWhitespace:
2525
Description: Avoid trailing whitespace.
2626
StyleGuide: "#no-trailing-whitespace"
2727
Enabled: true
@@ -44,7 +44,7 @@ Lint/AmbiguousRegexpLiteral:
4444
Enabled: true
4545

4646
# Supports --auto-correct
47-
Lint/BlockAlignment:
47+
Layout/BlockAlignment:
4848
Description: Align block ends correctly.
4949
Enabled: true
5050
EnforcedStyleAlignWith: either
@@ -58,7 +58,7 @@ Lint/CircularArgumentReference:
5858
should not refer back to the name of the argument.
5959
Enabled: true
6060

61-
Lint/ConditionPosition:
61+
Layout/ConditionPosition:
6262
Description: Checks for condition placed in a confusing position relative to the keyword.
6363
StyleGuide: "#same-line-condition"
6464
Enabled: true
@@ -69,7 +69,7 @@ Lint/Debugger:
6969
Enabled: true
7070

7171
# Supports --auto-correct
72-
Lint/DefEndAlignment:
72+
Layout/DefEndAlignment:
7373
Description: Align ends corresponding to defs correctly.
7474
Enabled: true
7575
EnforcedStyleAlignWith: start_of_line
@@ -122,7 +122,7 @@ Lint/EmptyWhen:
122122
Enabled: false
123123

124124
# Supports --auto-correct
125-
Lint/EndAlignment:
125+
Layout/EndAlignment:
126126
Description: Align ends correctly.
127127
Enabled: true
128128
EnforcedStyleAlignWith: keyword
@@ -331,20 +331,20 @@ Lint/Void:
331331
Description: Possible use of operator/literal/variable in void context.
332332
Enabled: false # Triggers for any return value for #initialize and #[]=
333333

334-
#################### Style ###########################
334+
#################### Layout ###########################
335335

336336
# Supports --auto-correct
337337
Style/BlockDelimiters:
338338
Enabled: true
339339

340-
Style/CaseIndentation:
340+
Layout/CaseIndentation:
341341
Enabled: true
342342
EnforcedStyle: 'end'
343343

344-
Style/IndentationConsistency:
344+
Layout/IndentationConsistency:
345345
Enabled: true
346346

347-
Style/IndentationWidth:
347+
Layout/IndentationWidth:
348348
Enabled: true
349349

350350
# Supports --auto-correct

0 commit comments

Comments
 (0)