README.md in rubocop-rickselby-0.3.0 vs README.md in rubocop-rickselby-0.4.0
- old
+ new
@@ -14,20 +14,23 @@
# If you are using rails:
gem "rubocop-rails", require: false
gem "rubocop-rails-accessibility", require: false
# If you are using rspec:
- gem "rubocop-capybara", require: false
gem "rubocop-rspec", require: false
+
+ # If you are using capybara:
+ gem "rubocop-capybara", require: false
end
```
Inherit the configuration in your `.rubocop.yml`:
```yaml
# .rubocop.yml
inherit_gem:
-rubocop-rickselby:
-- config/default.yml # generic Ruby rules and cops
-- config/rails.yml # Rails-specific rules and cops
-- config/rspec.yml # RSpec-specific rules and cops
+ rubocop-rickselby:
+ - config/default.yml # generic Ruby rules and cops
+ - config/rails.yml # Rails-specific rules and cops
+ - config/rspec.yml # RSpec-specific rules and cops
+ - config/capybara.yml # capybara-specific rules and cops
```