Ruby Linter

Open-source Ruby projects categorized as Linter

Top 10 Ruby Linter Projects

  • rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

    Project mention: Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails | dev.to | 2023-11-08
  • standard

    Ruby's bikeshed-proof linter and formatter 🚲 (by standardrb)

    Project mention: An Introduction to RuboCop for Ruby on Rails | dev.to | 2023-09-13

    This approach is known as Standard Ruby. It can also be completed with plugins, including one for Ruby on Rails projects.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • rubocop-rails

    A RuboCop extension focused on enforcing Rails best practices and coding conventions.

    Project mention: RuboCoping with legacy: Bring your Ruby code up to Standard | /r/ruby | 2023-04-05

    1) Auto-correcting a whole (large) codebase at once with tons of offenses and dozens of active branches should be used with caution. Merge conflicts, blame pollution (ok, can be solved with .git-blame-ignore-revs, though can hardly remember any project using it). Though, the most important argument is that auto-correct can introduce bugs. Unfortunately, even safe autocorrect can be unsafe. Recently, I broke one popular project (with a decent, but not 99.999% test coverage) with a single "safe" auto-correction commit 🙂 (This issue).

  • undercover

    undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports

  • rubocop-performance

    An extension of RuboCop focused on code performance checks.

  • theme-check

    The Ultimate Shopify Theme Linter

  • rubocop-graphql

    Rubocop extension for enforcing graphql-ruby best practices

    Project mention: rubocop-graphql 1.0.0 released | /r/ruby | 2023-02-28

    After 3 years in development of 0. version it's a collection of 25 cops for Rubocop to take your GraphQL code to the next level. Link: https://github.com/DmitryTsepelev/rubocop-graphql

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • rubocop-minitest

    Code style checking for Minitest files.

  • rubocop-gradual

    Gradually improve your code with RuboCop

    Project mention: RuboCoping with legacy: Bring your Ruby code up to Standard | /r/ruby | 2023-04-05

    2) Inline comments add a lot of noise. Encouraging developers to fix style issues? Or encouraging them to spend time on irrelevant fixes while working on features? The TODO approach should be considered as a prevention measure. The primary goal is to write new code in style. Unfortunately, if there are many large classes/files, TODO config can silent new offenses. To overcome this, we can use alternative tools, like rubocop-gradual.

  • rubocop-ruby2_5

    Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-08.

Ruby Linter related posts

Index

What are some of the best open-source Linter projects in Ruby? This list will help you:

Project Stars
1 rubocop 12,399
2 standard 2,468
3 rubocop-rails 749
4 undercover 670
5 rubocop-performance 599
6 theme-check 322
7 rubocop-graphql 205
8 rubocop-minitest 112
9 rubocop-gradual 32
10 rubocop-ruby2_5 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com