A Danger plugin for Rubocop that prints warnings.
Add this line to your Gemfile:
gem 'danger-shiphawk-plugin'
Inside Dangerfile
specifying next line
shiphawk_plugin.checkup
This method accepts configuration hash. The following keys are supported:
files: 'all'
('all' | 'diff') Files to lintconfig: nil
Path to the config.rubocop.yml
filelimit_of_warnings: 10
(Number) Count of offenses that should be displayedautofix_hint_threshold: 50
(Number) Rubocop auto-fix message will appear when errors count less then this number
The gem is available as open source under the terms of the MIT License.
Upgrade version in lib/version.rb
Then create new version of a gem:
gem build danger-shiphawk-plugin.gemspec
gem push danger-shiphawk-plugin-1.0.6.gem