kuyio-rubocop
KUY.io shared rubocop configuration.
Installation
Add this line to your application's Gemfile:
group :test, :development do
gem 'kuyio-rubocop', github: 'kuyio/kuyio-rubocop'
end
And then run:
$ bundle install
Usage
Create a .rubocop.yml
with the following directives:
inherit_gem:
kuyio-rubocop:
- default.yml
Now, run:
$ bundle exec rubocop
You do not need to include rubocop directly in your application's dependencies. This gem will include a specific version of rubocop
and rubocop-rspec
that is shared across all projects.