rubocop-configs

A collection of reusable RuboCop configuration files for inclusion in other Ruby projects.

Usage

Add the following to your project’s Gemfile and run bundle install:

gem "rubocop"
gem "rubocop-performance"
gem "rubocop-rails"
gem "rubocop-rake"
gem "rubocop-rspec"

Add the following to your project’s .rubocop.yml:

inherit_from:
  - https://jgarber623.github.io/rubocop-configs/.rubocop.yml
  - https://jgarber623.github.io/rubocop-configs/.rubocop-rails.yml
  - https://jgarber623.github.io/rubocop-configs/.rubocop-rspec.yml

Dependencies

As noted above, the configurations in this project require one or more of the following RuboCop extensions:

The following RuboCop extensions are recommended for Ruby on Rails projects:

The following RuboCop extension is recommended for RubyGem projects:

License

rubocop-configs is freely available under the MIT License. Use it, learn from it, fork it, improve it, change it, tailor it to your needs.