/danger-periphery

Primary LanguageRubyMIT LicenseMIT

danger-periphery

A Danger plugin to identify unused code using Periphery.

This plugin is heavily inspired by danger-swiftlint.

This plugin is under development.

Installation

Add this line to your Gemfile:

gem 'danger-periphery'

Periphery also needs to be installed before you run Danger.

Usage

Add this to your Dangerfile:

periphery.scan_files

ToDo

  • support of periphery's option parameters
  • test

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.