danger-local_rules
A description of danger-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.
$ local_rules.check
Development
- Clone this repo
- Run
bundle installto setup dependencies. - Run
bundle exec rake specto run the tests. - Use
bundle exec guardto automatically have tests run as you make changes. - Make your changes.