Ruby Linter

Open-source Ruby projects categorized as Linter

Top 20 Ruby Linter Projects

  1. rubocop

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

    Project mention: Tiny JITs for a Faster FFI | news.ycombinator.com | 2025-02-12

    If you're looking for static typing a dynamic language is going to be a poor fit. I find a place for both. I love Rust, but trying to write a tool that consumed a GraphQL API with was a brutal exercise in frustation. I'd say that goes for typing of JSON or YAML or whatever structured format in general. It's refreshing being able to just work with data in the form I already know it's in. Ruby can be an incredibly productive language to work with.

    If you're looking for static analysis in general, please note that there are mature tools available. Rubocop¹ is probably the most popular and allows for linting and code formatting. Brakeman² is a vulnerability scanner for Rails. Sorbet³ is a static type checker.

    The tooling is there if you want to try things out. But, if you want a statically typed language then that's a debate that's been going since the dawn of programming language design. I doubt it's going to get resolved in this thread.

    ¹ - https://github.com/rubocop/rubocop

    ² - https://brakemanscanner.org/

    ³ - https://sorbet.org/

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. standard

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

    Project mention: Rubocop-obsession: RuboCop extension focused on higher-level concepts | news.ycombinator.com | 2024-10-27
  4. rubocop-rails

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

  5. 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

  6. rubocop-performance

    An extension of RuboCop focused on code performance checks.

  7. rubocop-graphql

    Rubocop extension for enforcing graphql-ruby best practices

  8. rubocop-minitest

    Code style checking for Minitest files.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. rubocop-obsession

    RuboCop extension focused on higher-level concepts, like checking that code reads from top to bottom

    Project mention: Rubocop-obsession: RuboCop extension focused on higher-level concepts | news.ycombinator.com | 2024-10-27
  11. rubocop-gradual

    Gradually improve your code with RuboCop

  12. rubocop-ruby2_3

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

  13. rubocop-ruby2_2

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

  14. rubocop-ruby2_5

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

  15. rubocop-ruby2_4

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

  16. rubocop-ruby3_1

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

  17. rubocop-ruby1_9

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

  18. rubocop-ruby2_7

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

  19. rubocop-ruby3_0

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

  20. rubocop-ruby2_6

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

  21. rubocop-ruby2_1

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

  22. rubocop-ruby2_0

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

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Ruby Linter discussion

Log in or Post with

Ruby Linter related posts

  • Rubocop-obsession: RuboCop extension focused on higher-level concepts

    4 projects | news.ycombinator.com | 27 Oct 2024
  • Five Things to Avoid in Ruby

    1 project | news.ycombinator.com | 23 May 2024
  • Utilities for refactoring and upgrading Ruby code based on ASTs

    3 projects | news.ycombinator.com | 6 May 2024
  • Am I the only one who doesn't put parentheses around the parameters in Ruby method definitions?

    1 project | dev.to | 11 Apr 2024
  • A decent VS Code and Ruby on Rails setup

    8 projects | news.ycombinator.com | 21 Feb 2024
  • Standardrb: Ruby's bikeshed-proof linter and formatter

    1 project | news.ycombinator.com | 21 Feb 2024
  • A Writer's Ruby

    4 projects | news.ycombinator.com | 5 Jan 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 rubocop 12,749
2 standard 2,825
3 rubocop-rails 843
4 undercover 743
5 rubocop-performance 711
6 rubocop-graphql 230
7 rubocop-minitest 149
8 rubocop-obsession 136
9 rubocop-gradual 36
10 rubocop-ruby2_3 5
11 rubocop-ruby2_2 5
12 rubocop-ruby2_5 5
13 rubocop-ruby2_4 5
14 rubocop-ruby3_1 4
15 rubocop-ruby1_9 4
16 rubocop-ruby2_7 4
17 rubocop-ruby3_0 4
18 rubocop-ruby2_6 4
19 rubocop-ruby2_1 4
20 rubocop-ruby2_0 4

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io