Retrieva::Cop is a RuboCop configuration gem for Retrieva, inc. Highly inspiered by onkcop and deka_eiwakun
Add this line to your application's Gemfile:
group :development do
gem "retrieva-cop", require: false
end
Add the following directive to your .rubocop.yml
:
inherit_gem:
retrieva-cop:
- "config/rubocop.yml"
# comment unless use rails cops
- "config/rails.yml"
# comment unless use rspec cops
- "config/rspec.yml"
AllCops:
TargetRubyVersion: 2.4
# comment unless use rails cops
TargetRailsVersion: 5.1
bundle exec rubocop <options...>
Bug reports and pull requests are welcome on GitHub at https://github.com/retrieva/retrieva-cop.