My Rubocop Configuration for a Successful Rails Project

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • react-on-rails-template

    Basic template for React on Rails

  • Rubocop is an incredibly valuable tool we have in the Ruby community. With some basic configuration, it can provide a lot more than simple style warnings, and we recommend everyone use it on their Rails projects. Here is the final version of our rubocop configuration file combining all the items we discussed above: https://github.com/colinsoleim/react-on-rails-template/blob/main/.rubocop.yml

  • rubocop-performance

    An extension of RuboCop focused on code performance checks.

  • Rubocop allows you to import custom plugins for customized cops, and we use 3 of these plugins in all of our Rails projects. These are rubocop-performance, rubocop-rails, and rubocop-rspec.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • plugin-ruby

    Prettier Ruby Plugin

  • Rubocop has a very nice auto-correct feature to automatically fix many of the warnings it gives, but we've noticed in the past that with line length issues specifically the auto-corrected files can be misformatted. For that reason, we use the Ruby plugin for Prettier to correct line length.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Linting and Auto-formatting Ruby Code With RuboCop

    12 projects | dev.to | 29 Jun 2022
  • Am I the only one who doesn't put parentheses around the parameters in Ruby method definitions?

    1 project | dev.to | 11 Apr 2024
  • Standardrb: Ruby's bikeshed-proof linter and formatter

    1 project | news.ycombinator.com | 21 Feb 2024
  • Unveiling the big leap in Ruby 3.3's IRB

    6 projects | news.ycombinator.com | 23 Dec 2023
  • Using Prettier for ERB files

    2 projects | /r/rails | 10 Dec 2023