Creates a commit for each violation autofixed by rubocop. The result can be used to make a pull request for discussion purposes.
- Runs
rake spec
before commiting any violation. - Skips empty violations.
$ cd ~/repo
$ git checkout -b rubocop_preview
$ path/to/rubocop_preview.rb .
line 15 needs to be lowercase configuration_filename