We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AllowComments
Style/EmptyElse
1 parent 1bc4f97 commit f590ad4Copy full SHA for f590ad4
rubocop.yml
@@ -500,6 +500,9 @@ Style/DoubleNegation:
500
Style/EmptyBlockParameter:
501
Enabled: false
502
503
+Style/EmptyElse:
504
+ AllowComments: true
505
+
506
Style/EmptyHeredoc:
507
Enabled: true
508
test/fixtures/full_config.yml
@@ -2782,7 +2782,7 @@ Style/EmptyElse:
2782
- empty
2783
- nil
2784
- both
2785
- AllowComments: false
2786
2787
Description: Checks for using empty heredoc to reduce redundancy.
2788
0 commit comments