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
bbatsov avatar

bbatsov/rubocop

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

Rubocop

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 a rule-based engine and a configuration-driven policy.

Features

  • Coding Style Tools - Provides utilities to automatically lint and enforce consistency in Ruby source code style.
  • Code Formatting - Provides automatic code formatting to align Ruby source code with community style standards.
  • Ruby Linting Tools - Provides a comprehensive static analysis tool for detecting potential bugs and improving Ruby code quality.
  • Code Formatters - Automatically adjusts Ruby source code structure and style to maintain community consistency.
  • Ruby Linting Rules - Evaluates Ruby code against a collection of independent and configurable linting rules.
  • Static Code Analyzers - Functions as a static code analyzer that identifies potential bugs and style violations in Ruby projects.
  • Ruby Style Enforcement - Enforces uniform style and consistent formatting across Ruby project files.
  • Source Code Patchers - Automatically modifies source files to apply formatting corrections and style updates.
  • Code Style Guides - Inspects source code for adherence to established Ruby community style guides.
  • Configuration-Driven Rules - Uses YAML configuration files to define active rules and enforce project-specific coding standards.
  • Static Code Analysis - Scans Ruby source code to detect style violations and maintainability issues without executing the code.
  • AST Extraction - Implements structural analysis by extracting abstract syntax trees from Ruby source code.
  • LSP Integration - Provides a Language Server Protocol implementation to integrate analysis results into text editors.
  • Ruby Extensions - Enhances the Ruby development workflow by integrating real-time analysis into the editor.
  • AST to Source Conversion - Automatically converts modified abstract syntax trees back into corrected Ruby source code strings.
  • Editor Formatting Integrations - Integrates with text editors via LSP to provide real-time formatting and linting feedback.
  • Language Server Protocols - Implements the Language Server Protocol to communicate linting errors to an IDE-agnostic editor.
  • Code Quality - Static code analyzer for Ruby.

Star history

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

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Projects sharing features with Rubocop

These projects share indexed features with Rubocop. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
  • airbnb/rubyairbnb avatar

    airbnb/ruby

    3,890View on GitHub↗

    This project provides a collection of coding standard specifications, style guides, and configuration assets used to define automated rules for static code analysis in Ruby. It serves as a centralized set of RuboCop configurations and static analysis rules to ensure consistent syntax and idiomatic usage across a codebase. The project establishes a comprehensive Ruby style guide that defines naming conventions, indentation, and structural requirements. It utilizes a pluggable linting engine to enforce these standards through a defined set of patterns and constraints. The capability surface co

    Ruby
    View on GitHub↗3,890
  • rubocop/rubocoprubocop avatar

    rubocop/rubocop

    12,879View on GitHub↗

    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

    Rubycode-formatterhacktoberfestlinter
    View on GitHub↗12,879
  • bbatsov/ruby-style-guidebbatsov avatar

    bbatsov/ruby-style-guide

    16,546View on GitHub↗

    This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of agreed-upon rules for syntax, naming conventions, and structural guidelines to ensure uniform code appearance and maintainability across Ruby projects. The project serves as both a human-readable documentation resource for developers and a machine-readable RuboCop configuration specification. This allows natural language style guidelines to be mapped directly to automated linting rules. The system covers Ruby code standardization, style enforcement, and project governance thro

    View on GitHub↗16,546
Compare all 30 related projects→

Frequently asked questions

What does bbatsov/rubocop do?

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.

What are the main features of bbatsov/rubocop?

The main features of bbatsov/rubocop are: Coding Style Tools, Code Formatting, Ruby Linting Tools, Code Formatters, Ruby Linting Rules, Static Code Analyzers, Ruby Style Enforcement, Source Code Patchers.

Which projects share features with bbatsov/rubocop?

Projects with overlapping indexed features include: rubocop-hq/rubocop — RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential… airbnb/ruby — This project provides a collection of coding standard specifications, style guides, and configuration assets used to… rubocop/rubocop — RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations,… rubocop/ruby-style-guide — This project is a community-driven style guide that defines standards for formatting and structuring Ruby code. It… bbatsov/ruby-style-guide — This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of… realm/swiftlint — SwiftLint is a static analysis tool and code formatter designed to enforce consistent coding styles and identify…