Ruby code-formatter

Open-source Ruby projects categorized as code-formatter

Top 6 Ruby code-formatter Projects

code-formatter
  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. 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
  3. rubocop-rails

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

  4. rubocop-performance

    An extension of RuboCop focused on code performance checks.

  5. rubocop-minitest

    Code style checking for Minitest files.

  6. 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
  7. rubocop-gradual

    Gradually improve your code with RuboCop

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 code-formatter discussion

Log in or Post with

Ruby code-formatter related posts

  • Utilities for refactoring and upgrading Ruby code based on ASTs

    3 projects | news.ycombinator.com | 6 May 2024
  • Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails

    1 project | dev.to | 8 Nov 2023
  • code review / feedback for improvement

    2 projects | /r/ruby | 16 Sep 2023
  • I live and work in the US where protests against police brutality have been ongoing for days, and coming to work this week the word "cop" has an uncomfortable feeling about it.

    3 projects | /r/programmingcirclejerk | 7 Jul 2023
  • RuboCoping with legacy: Bring your Ruby code up to Standard

    2 projects | /r/ruby | 5 Apr 2023
  • Ruby 2.7.8 Released

    1 project | /r/ruby | 1 Apr 2023
  • Rubocop: The Sheriff of Your Codebase

    1 project | dev.to | 24 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 Jun 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 rubocop 12,745
2 rubocop-rails 841
3 rubocop-performance 711
4 rubocop-minitest 148
5 rubocop-obsession 136
6 rubocop-gradual 36

Sponsored
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.
www.influxdata.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?