A Danger plugin to manage local rules.
https://github.com/mataku/danger-local_rules.git
A Danger plugin to manage local rules.
$ gem install danger-local_rules
.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
See changelog.md.
bundle install to setup dependencies.bundle exec rake spec to run the tests.bundle exec guard to automatically have tests run as you make changes.