awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bbatsov avatar

bbatsov/rubocop

0
View on GitHub↗
12,879 星标·3,113 分支·Ruby·MIT·10 次浏览docs.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 历史

bbatsov/rubocop 的 Star 历史图表bbatsov/rubocop 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Rubocop 的开源替代方案

相似的开源项目,按与 Rubocop 的功能重合度排序。
  • rubocop-hq/rubocoprubocop-hq 的头像

    rubocop-hq/rubocop

    12,879在 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
    在 GitHub 上查看↗12,879
  • airbnb/rubyairbnb 的头像

    airbnb/ruby

    3,890在 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
    在 GitHub 上查看↗3,890
  • rubocop/rubocoprubocop 的头像

    rubocop/rubocop

    12,879在 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
    在 GitHub 上查看↗12,879
  • bbatsov/ruby-style-guidebbatsov 的头像

    bbatsov/ruby-style-guide

    16,546在 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

    在 GitHub 上查看↗16,546
查看 Rubocop 的所有 30 个替代方案→

常见问题解答

bbatsov/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.

bbatsov/rubocop 的主要功能有哪些?

bbatsov/rubocop 的主要功能包括:Coding Style Tools, Code Formatting, Ruby Linting Tools, Code Formatters, Ruby Linting Rules, Static Code Analyzers, Ruby Style Enforcement, Source Code Patchers。

bbatsov/rubocop 有哪些开源替代品?

bbatsov/rubocop 的开源替代品包括: 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…