I found following issue:
Steps to recreate
- clone repo https://github.com/mariusz-blaszczak/recreate_error_in_pronto_rubocop
bundle install
rubocop main.rb - raises 0 errors
git checkout -b test
- Modify file main.rb: remove empty line between methods foo and bar
rubocop main.rb - raises Use empty lines between method definitions
pronto run - does not raise error
Expected
Pronto should raise error Use empty lines between method definitions
Actual
No error from pronto
Additional info
Tested with ruby 2.7.0p0
I found following issue:
Steps to recreate
bundle installrubocop main.rb- raises 0 errorsgit checkout -b testrubocop main.rb- raises Use empty lines between method definitionspronto run- does not raise errorExpected
Pronto should raise error Use empty lines between method definitions
Actual
No error from pronto
Additional info
Tested with ruby 2.7.0p0