The project is in a healthy, maintained state
Provides enhanced linting rules for Ruby on Rails, focusing on performance, RSpec, factory_bot, and Faker integration.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1.0, < 4.0
>= 1.22.1, < 2.0
>= 2.26.2, < 3.0
>= 1.67, < 2.0
>= 2.26.1, < 3.0
>= 1.1.0, < 2.0
 Project Readme

Rubocop Rails Suite

Rubocop Rails Suite is a comprehensive suite of RuboCop configurations tailored for Ruby on Rails applications. This gem enhances your Rails code quality by bundling essential RuboCop extensions for performance, testing, and best practices. It requires at least Ruby version 3.0.0 to function properly.

Gems Included:

Installation

Add this line to your application's Gemfile:

gem "rubocop-rails-suite", require: false, group: [:development]

Then execute:

bundle install

Usage

To enable the Rubocop Rails Suite in your project, create or update your .rubocop.yml file with the following:

inherit_gem:
  rubocop-rails-suite: rubocop.yml

# Specify your Ruby version
AllCops:
  TargetRubyVersion: 3.0

This will import the suite's recommended RuboCop rules for Rails projects, including rules for performance, RSpec, factory_bot, faker, and migration linting.

Run RuboCop to check your code:

bundle exec rubocop

Contributing

Contributions are welcome! Feel free to report bugs or submit pull requests.

Contact

For questions or further information, feel free to reach out via LinkedIn.