This gem inspired https://github.com/airbnb/ruby, but reconfigurable cops and no lock versions of rubocop
, rubocop-*
Add this line to your application's Gemfile:
group :development do
gem 'rubocop-gp', github: 'corp-gp/rubocop-gp'
end
And then run:
$ bundle install
Create a .rubocop.yml
with the following directives:
inherit_gem:
rubocop-gp:
- .rubocop.yml
Now, run:
$ bin/bundle exec rubocop
You do not need to include rubocop directly in your application's dependences. This gem will include: