README.md in danger-spec_postfix-0.0.3 vs README.md in danger-spec_postfix-0.0.4
- old
+ new
@@ -10,18 +10,12 @@
Add this to your Dangerfile:
spec_postfix.lint
-## Configuration
+ You can also pass `exceptions` param in order to skip irrelevant files or directories:
- By default some of files and folders are out of scope. You can configure your own custom list of exceptions.
-
- #config/initializers/danger/danger_spec_postfix.rb
-
- Danger::DangerSpecPostfix.configure do |config|
- config.exceptions = ['rails_helper.rb', 'rails_helper.rb']
- end
+ spec_postfix.lint(exceptions: ['rails_helper.rb', 'rails_helper.rb', 'spec/factories/', 'spec/support/'])
## Development
1. Clone this repo
2. Run `bundle install` to setup dependencies.