rubocop-ronin is a set of common rubocop rules for the ronin-rb project. This is necessary because rubocop's default configuration clashes with ronin-rb's coding style, or sometimes even differs from the defacto Ruby coding style.
- rubocop ~> 1.0
Add the gem to the Gemfile
:
gem 'rubocop', require: false, platform: :mri
gem 'rubocop-ronin', '~> 0.1', require: false, platform: :mri
Add the following lines to a ronin-*
gem's .rubocop.yml
file:
inherit_gem:
rubocop-ronin: rubocop.yml
- Fork It!
- Clone It!
cd rubocop-ronin/
bundle install
git checkout -b my_feature
- Code It!
git push origin my_feature