Shared Rubocop configuraiton used by Instructure's Ruby projects.
Add this line to your application's Gemfile
:
gem "rubocop-inst", "~> 1"
Add this line to your gem's gemspec
:
add_development_dependency "rubocop-inst", "~> 1"
Add these lines to your .rubocop.yml
:
# /.rubocop.yml
inherit_gem:
rubocop-inst:
- rubocop.yml
- rubocop-rspec.yml # if you use rspec and rubocop-rspec