Default to exclude_multiple_line_blocks in Style/VerboseBlock rule

This commit is contained in:
Sijawusz Pur Rahnama 2021-03-03 00:31:53 +01:00
parent 6e622456ff
commit 56110b3883
2 changed files with 3 additions and 2 deletions

View file

@ -128,6 +128,7 @@ module Ameba::Rule::Style
end
)
rule = VerboseBlock.new
.tap(&.exclude_multiple_line_blocks = false)
rule
.tap(&.max_line_length = 60)
.catch(source).should be_valid