No release in over 3 years
Low commit activity in last 3 years
A Danger plugin for running Ruby files through Rubocop.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 10.0
~> 3.4
>= 0

Runtime

 Project Readme

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.checkup

Options:

This method accepts configuration hash. The following keys are supported:

  • files: 'all' ('all' | 'diff') Files to lint
  • config: nil Path to the config .rubocop.yml file
  • 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