Sevenwire shared Rubocop config.
Add this line to your application's Gemfile:
group :test, :development do
gem 'sevenwire-rubocop'
endAnd then run:
$ bundle installCreate a .rubocop.yml with the following directives:
inherit_gem:
sevenwire-rubocop:
- default.ymlNow, run:
$ bundle exec rubocopYou do not need to include rubocop directly in your application's dependencies. sevenwire-rubocop will include a specific version of rubocop and rubocop-rspec that is shared across all projects.