Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rubocop-rails-suite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubocop-rails-suite

  • 1.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc