Rubocop shared Gem config for our company projects
Install the gem and add to the application's Gemfile by executing:
bundle add pludoni-rubocop --git https://github.com/pludoni/pludoni-rubocop.git
Or add manually to Gemfile:
group :development, :test do
gem 'pludoni-rubocop', require: false
end
Add to .rubocop.yml
:
inherit_gem:
pludoni-rubocop:
- default.yml
- rails.yml
- betterment.yml
If you have a .codeclimate.yml
change it to match the Rubocop version:
# .codeclimate.yml
plugins:
rubocop:
enabled: true
channel: rubocop-1-48
The gem is available as open source under the terms of the MIT License.