HRSC shared style configs.
Add this line to your application's Gemfile:
group :test, :development do
gem 'hrsc-style'
endOr, for a Ruby library, add this to your gemspec:
spec.add_development_dependency 'hrsc-style'And then run:
$ bundle installCreate a .rubocop.yml with the following directives:
inherit_gem:
hrsc-style:
- default.ymlNow, run:
$ bundle exec rubocopYou do not need to include rubocop directly in your application's dependences. HRSC-style will include a specific version of rubocop that is shared across all projects.