HomeLight Ruby Style
HomeLight shared ruby style configs.
Installation
Add this line to your application's Gemfile:
group :development do
gem "hl_ruby_style"
endAnd then execute:
$ bundle installUsage
Create a .rubocop.yml with the following directives:
inherit_gem:
hl_ruby_style:
- default.ymlNow, run:
$ bundle exec rubocopNo need to include rubocop directly application dependencies. Hl-ruby-style will include specific versions of rubocop, rubocop-performance, rubocop-rails and rubocop-rspec that is shared across projects.