RuboCop Cop for Elegant Ruby Code
First, install it:
gem install rubocop-elegant
Then, add it to your .rubocop.yml:
plugins:
- rubocop-elegant
Should work.
How to contribute
Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 2.3+ and Bundler installed. Then:
bundle update
bundle exec rake
If it's clean and you don't see any error messages, submit your pull request.