Ruby code-formatter

Open-source Ruby projects categorized as code-formatter

Top 5 Ruby code-formatter Projects

  • rubocop

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

    Project mention: Must-have gems for mature Rails | dev.to | 2024-02-02

    gem "rubocop" - https://github.com/rubocop/rubocop | Set up code guidelines for your dev team, I recommend using whatever Standard recommends.

  • 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).

  • PopRuby

    PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.

  • rubocop-performance

    An extension of RuboCop focused on code performance checks.

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-02-02.

Ruby code-formatter related posts

Index

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

Project Stars
1 rubocop 12,454
2 rubocop-rails 764
3 rubocop-performance 614
4 rubocop-minitest 118
5 rubocop-gradual 33
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