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

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

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

airbnb/ruby

0
View on GitHub↗
3,890 星标·756 分支·Ruby·MIT·3 次浏览

Ruby

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 covers code quality and linting, including the standardization of formatting, naming conventions, and documentation practices. It also incorporates architectural validation through abstract syntax tree pattern matching and the implementation of custom rules to detect non-compliant patterns.

Features

  • Ruby Linting Rules - Implements a comprehensive set of static analysis rules specifically designed for the Ruby language.
  • Linting Engines - Provides a pluggable static analysis engine that evaluates Ruby source code against predefined style and syntax rules.
  • AST Pattern Matching - Implements structural code analysis using abstract syntax trees to identify violations regardless of whitespace.
  • Static Analysis Rules - Implements a defined set of patterns and constraints to enforce architectural standards and idiomatic Ruby usage.
  • Ruby Style Enforcement - Provides a comprehensive set of tools and guidelines for applying uniform style and linting across Ruby projects.
  • Static Code Analysis - Provides tools for scanning Ruby source code to detect linting violations and syntax errors without execution.
  • Idiomatic Patterns - Promotes the use of idiomatic Ruby patterns and method preferences to improve performance and clarity.
  • Ruby Code Standardization - Establishes consistent formatting and structural rules specifically tailored for the Ruby language.
  • Code Formatting Standards - Defines consistent rules for indentation, whitespace, and newline usage to maintain uniform visual structure.
  • Code Style Guides - Ships a comprehensive style guide defining naming and formatting standards for consistent Ruby source code.
  • Coding Convention Specifications - Defines formal coding convention specifications for naming, indentation, and structural requirements.
  • Coding Standards - Provides a curated collection of language conventions and formatting rules to ensure long-term maintainability.
  • Naming Conventions - Establishes standardized naming patterns and casing rules for variables, classes, and methods.
  • Ruby 文档标准 - Defines mandatory commenting patterns and documentation requirements for Ruby classes and methods.
  • Naming Conventions - Provides standardized rules for naming identifiers and formatting layout, including predicate method suffixes.
  • Configuration-Driven Rules - Uses YAML configuration files to define and enforce project-wide coding standards and formatting rules.
  • Linting Rule Configurations - Provides a collection of configuration settings that define which RuboCop syntax checks are applied.
  • Static Code Analysis - Automates the scanning of source code to ensure adherence to architectural and formatting standards without execution.
  • Custom Lint Rule Definitions - Provides interfaces for defining prohibited code patterns and custom rules to enforce team-specific standards.
  • Documentation Standards - Mandates specific formal specifications for structuring documentation comments within Ruby source code.
  • 文档标准 - RuboCop sets requirements for class, file, and function level comments to ensure code remains maintainable for future contributors.
  • Error Handling Misuse - Provides guidelines to prevent the use of exceptions for normal control flow, improving application stability.
  • 谓词命名约束 - Enforces semantic meaning in method names by requiring specific character suffixes for boolean returning functions.
  • Linter Cop 实现 - Provides the ability to extend the base linter with custom pattern-matching logic for idiomatic Ruby detection.
  • 集合用法标准化 - Defines preferred methods for manipulating arrays and hashes to ensure consistency and performance across the codebase.
  • Line Length Limits - Restricts the maximum number of characters allowed per line to maintain visual readability.
  • Syntax Verbosity Optimization - Provides guidelines and automated rules for reducing boilerplate and redundant syntax to improve Ruby code maintainability.
  • 框架实现验证 - Implements specific formatting and structural requirements for Rails data scopes and controller responses.
  • Code Quality and Patterns - Standardized style guide for writing Ruby code.
  • Coding Standards - A Ruby style guide by Airbnb.
  • Programming Language Guides - Internal Ruby style standards used by Airbnb.
  • Programming Language Standards - Airbnb's internal Ruby style guide.

Star 历史

airbnb/ruby 的 Star 历史图表airbnb/ruby 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

常见问题解答

airbnb/ruby 是做什么的?

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.

airbnb/ruby 的主要功能有哪些?

airbnb/ruby 的主要功能包括:Ruby Linting Rules, Linting Engines, AST Pattern Matching, Static Analysis Rules, Ruby Style Enforcement, Static Code Analysis, Idiomatic Patterns, Ruby Code Standardization。

airbnb/ruby 有哪些开源替代品?

airbnb/ruby 的开源替代品包括: bbatsov/ruby-style-guide — This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of… rubocop/ruby-style-guide — This project is a community-driven style guide that defines standards for formatting and structuring Ruby code. It… bbatsov/rubocop — RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect… thoughtbot/guides — This project is a software engineering style guide and a curated collection of architectural patterns and coding… raywenderlich/swift-style-guide — This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across… flyerhzm/rails_best_practices — This project is a static analysis tool and linter for Ruby on Rails designed to identify architectural smells and…

Ruby 的开源替代方案

相似的开源项目,按与 Ruby 的功能重合度排序。
  • 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/ruby-style-guiderubocop 的头像

    rubocop/ruby-style-guide

    16,546在 GitHub 上查看↗

    This project is a community-driven style guide that defines standards for formatting and structuring Ruby code. It serves as a collection of language conventions and best practices intended to ensure that Ruby applications are written idiomatically and maintainably. The guide functions as a static analysis standard, providing a reference that automated linting tools use to enforce uniform coding patterns and structural rules. By mapping written guidelines to these automated configurations, it establishes a shared source of truth for code consistency. The scope of the project covers Ruby code

    rubocoprubystyle-guide
    在 GitHub 上查看↗16,546
  • bbatsov/rubocopbbatsov 的头像

    bbatsov/rubocop

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

    thoughtbot/guides

    9,556在 GitHub 上查看↗

    This project is a software engineering style guide and a curated collection of architectural patterns and coding standards. It provides a multi-language coding standard to ensure maintainable software across Ruby, Python, JavaScript, and Swift. The project establishes a development workflow specification for version control, continuous integration, and peer review to maintain a linear project history. It also includes a web accessibility framework based on ARIA and WCAG standards, using design tokens and semantic HTML patterns to build inclusive interfaces. The guides cover a broad range of

    Ruby
    在 GitHub 上查看↗9,556
查看 Ruby 的所有 30 个替代方案→