Danger ShipHawk Plugin
A Danger plugin for Rubocop that prints warnings.
Installation:
Add this line to your Gemfile:
gem 'danger-shiphawk-plugin'Usage:
Inside Dangerfile specifying next line
shiphawk_plugin.checkupOptions:
This method accepts configuration hash. The following keys are supported:
-
files: 'all'('all' | 'diff') Files to lint -
config: nilPath to the config.rubocop.ymlfile -
limit_of_warnings: 10(Number) Count of offenses that should be displayed -
autofix_hint_threshold: 50(Number) Rubocop auto-fix message will appear when errors count less then this number
License:
The gem is available as open source under the terms of the MIT License.
How to: Build
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