rubocop_lineup
rubocop_lineup copied to clipboard
Restrict Rubocop to only changed lines on a Git branch
if there are any binary files in the repo that have been changed, it can't read these properly because the proper `rb` mode isn't set. ``` invalid byte sequence in...
1) Do a git mv on a file 2) Make changes to it 3) rubocop_lineup apparently doesn't catch this file and it's ignored.
https://github.com/prontolabs/pronto-rubocop
- working in a branch - want to rebase the branch - git fetch - git rebase origin/master - branch is now up-to-date with origin/master, but local master hasn't been...
When a file is staged for deletion (`git rm $file`), then `rubocop -r rubocop_lineup` issues the following error instead of running: ``` undefined method `+' for nil:NilClass /Users/jamie/code/vpay/eft3/vendor/bundle/ruby/2.3.0/gems/rubocop_lineup-0.4.0/lib/rubocop_lineup/line_number_calculator.rb:11:in `git_line_summary_to_numbers'` ```...
I'd love to use this outside rubocop in another rake file but I couldn't figure out how. The use case I have is that I'm working on a branch and...
Some use cases will have rubocop_lineup as a requires in the config file ... but what if I want to bypass it in a one-off run at the command-line? Other...