awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
rubocop avatar

rubocop/rubocop

0
View on GitHub↗
12,879 stars·3,113 forks·Ruby·MIT·20 viewsdocs.rubocop.org↗

Rubocop

RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations, smells, and errors in source code to ensure consistency and maintainability based on community guidelines.

The project provides automatic source code formatting to rewrite files according to defined stylistic standards. It also functions as a language server protocol implementation, surfacing violations and suggested fixes directly within code editors.

The tool covers code complexity monitoring to track the size of classes and methods and employs non-inclusive language detection to suggest alternative phrasing. It includes a configuration system for managing rule activation, file exclusions, and the generation of todo lists to track existing offenses for incremental cleanup.

Features

  • Ruby Linters - Functions as a comprehensive Ruby linter that identifies smells and errors to ensure maintainability.
  • Automated Linting Integrations - Provides automated style and syntax checks integrated into the development workflow to ensure code quality.
  • Source Code Rewriting - Automatically rewrites Ruby source files to correct stylistic violations based on precise AST node coordinates.
  • Automatic Code Formatters - Automatically rewrites Ruby source code to adhere to defined stylistic and syntactic formatting standards.
  • Static Code Analyzers - Scans Ruby source code for style violations and complexity issues using automated linting.
  • Ruby Code Standardization - Automatically rewrites Ruby source code to ensure consistent indentation, spacing, and stylistic standards.
  • Code Style Guides - Allows defining specific linting rules and naming conventions to ensure adherence to project or community style guides.
  • Style Guide Enforcers - Automatically enforces a strict community standard of Ruby code style to eliminate manual debates.
  • Static Code Analysis - Provides automated scanning of Ruby source code to detect style and maintainability issues without executing the program.
  • Rule Activation Controls - Offers mechanisms to toggle whether specific linting rules are enabled or disabled by default.
  • Compliance Registries - Generates configuration files that record existing violations to facilitate incremental codebase cleanup.
  • Language Server Protocols - Implements the Language Server Protocol to communicate analysis results and suggested fixes to editors in real-time.
  • Language Servers - Implements a language server that surfaces style violations and suggested fixes directly within supported code editors.
  • Code Complexity Metrics - Monitors the length of blocks, classes, and modules to prevent the creation of overly complex code structures.
  • Rule Configuration Engines - Implements a system for managing and customizing the activation and parameters of diagnostic and stylistic rules via YAML.
  • Technical Debt Registries - Generates a registry of existing offenses to track and ignore legacy debt while enforcing rules on new code.

Star history

Star history chart for rubocop/rubocopStar history chart for rubocop/rubocop

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Rubocop

Similar open-source projects, ranked by how many features they share with Rubocop.
  • standard/standardstandard avatar

    standard/standard

    29,431View on GitHub↗

    Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style guide. It functions as a static code analyzer that scans source code for style violations and potential errors without executing the program. The project provides an automatic code fixer that rewrites source code to resolve formatting issues and enforce syntax consistency. It implements a standardized set of rules for JavaScript formatting and syntax to ensure a uniform appearance across different projects. The system covers a wide range of static analysis capabilities, includi

    JavaScriptdevelopmentecmascriptes6
    View on GitHub↗29,431
  • rubocop-hq/rubocoprubocop-hq avatar

    rubocop-hq/rubocop

    12,879View on GitHub↗

    RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential bugs, and code smells by scanning source code without executing the program. The tool enforces a predefined Ruby style guide by flagging deviations and automatically rewriting source code to ensure consistency across projects. It includes a language server that provides real-time analysis and formatting suggestions directly within text editors.

    Ruby
    View on GitHub↗12,879
  • kodecocodes/swift-style-guidekodecocodes avatar

    kodecocodes/swift-style-guide

    13,173View on GitHub↗

    This project is a comprehensive set of standards for the Swift ecosystem, providing a code style guide, API design standards, and a memory management guide. It establishes standardized naming and formatting rules to ensure consistent and maintainable source code. The project includes a linting configuration used by automated tools to detect and enforce syntax patterns. These rules are designed to standardize code style and can be integrated into build phases to block commits with formatting errors. The guidelines cover a broad range of development capabilities, including the use of access mo

    View on GitHub↗13,173
  • bbatsov/rubocopbbatsov avatar

    bbatsov/rubocop

    12,879View on GitHub↗

    RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect potential bugs, identify style violations, and improve overall code quality in Ruby projects. The project provides an automated code formatter that rewrites source code to align with established community standards. It also implements a language server protocol to surface linting and formatting errors directly within text editors. Its capabilities cover automated code linting and the analysis of Ruby code style to ensure consistency across a project. These functions are driven by

    Ruby
    View on GitHub↗12,879
See all 30 alternatives to Rubocop→

Frequently asked questions

What does rubocop/rubocop do?

RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations, smells, and errors in source code to ensure consistency and maintainability based on community guidelines.

What are the main features of rubocop/rubocop?

The main features of rubocop/rubocop are: Ruby Linters, Automated Linting Integrations, Source Code Rewriting, Automatic Code Formatters, Static Code Analyzers, Ruby Code Standardization, Code Style Guides, Style Guide Enforcers.

What are some open-source alternatives to rubocop/rubocop?

Open-source alternatives to rubocop/rubocop include: standard/standard — Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style… rubocop-hq/rubocop — RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential… kodecocodes/swift-style-guide — This project is a comprehensive set of standards for the Swift ecosystem, providing a code style guide, API design… bbatsov/rubocop — RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect… feross/standard — Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide… airbnb/ruby — This project provides a collection of coding standard specifications, style guides, and configuration assets used to…