Sha256: 5f49c27b3854208b5f97e258833cf6ac3bef1de4b8acd34f754a9510e14a9d94
Contents?: true
Size: 802 Bytes
Versions: 1
Compression:
Stored size: 802 Bytes
Contents
# danger-local_rules A [Danger](http://danger.systems) 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. ```yml # See: example/.danger_local_rules.yml failure: 'legacyFunc': ':cry:' warning: 'TODO': 'You should check' 'FIXME': 'Yet?' ``` Add this to Dangerfile. ```ruby # Optional: you can specify yml file path. (Default: $projectRoot/.danger_local_rules) # local_rules.rules_file = './scripts/file.yml' local_rules.check ``` ## 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.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danger-local_rules-0.0.4 | README.md |