No commit activity in last 3 years
No release in over 3 years
Manage local rules by Danger.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.14
>= 0
~> 10.0
~> 3.4
>= 0

Runtime

 Project Readme

danger-local_rules

A Danger plugin to manage local rules.

Installation

$ gem install danger-local_rules

Usage

Create .danger_local_rules.yml in project root, and add contents to fail or warn.

# See: example/.danger_local_rules.yml
failure:
  'legacyFunc': ':cry:'
warning:
  'TODO': 'You should check'
  'FIXME': 'Yet?'

Add this to Dangerfile.

# Optional: you can specify yml file path. (Default: $projectRoot/.danger_local_rules)
# local_rules.rules_file = './scripts/file.yml'
local_rules.check

Changelog

See changelog.md.

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.