HomeLight Ruby Style
HomeLight shared ruby style configs.
Installation
Add this line to your application's Gemfile:
group :development do
gem "hl_ruby_style"
end
And then execute:
$ bundle install
Usage
Create a .rubocop.yml
with the following directives:
inherit_gem:
hl_ruby_style:
- default.yml
Now, run:
$ bundle exec rubocop
No 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.