Infinite loop detected in Layout/DotPosition
with EnforcedStyle: trailing
#10208
Labels
Layout/DotPosition
with EnforcedStyle: trailing
#10208
Infinite loop detected in
Layout/DotPosition
withEnforcedStyle: trailing
Example code
Gemfile
.rubocop.yml
bug_report.rb
Expected behavior
auto corrected with no error.
Actual behavior
bundle exec rubocop --only Layout/DotPosition --debug
bundle exec rubocop --only Layout/DotPosition --debug --auto-correct
If I don't use
EnforcedStyle: trailing
, no error will occurSteps to reproduce the problem
bundle exec rubocop --only Layout/DotPosition --debug --auto-correct
RuboCop version
1.22.1
is no problemThe text was updated successfully, but these errors were encountered: