# rubocop/ruby-style-guide

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rubocop-ruby-style-guide).**

16,546 stars · 3,349 forks

## Links

- GitHub: https://github.com/rubocop/ruby-style-guide
- Homepage: https://rubystyle.guide
- awesome-repositories: https://awesome-repositories.com/repository/rubocop-ruby-style-guide.md

## Topics

`rubocop` `ruby` `style-guide`

## Description

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 standardization and static analysis, focusing on naming conventions and structural patterns to reduce friction during peer reviews and simplify contributions across open-source projects.

## Tags

### Programming Languages & Runtimes

- [Ruby Code Standardization](https://awesome-repositories.com/f/programming-languages-runtimes/ruby-code-standardization.md) — Establishes consistent formatting and structural rules to standardize Ruby code style across projects. ([source](https://github.com/rubocop/ruby-style-guide#readme))
- [Community-Driven Specifications](https://awesome-repositories.com/f/programming-languages-runtimes/language-specifications-standards/community-driven-specifications.md) — Provides a set of coding standards evolved through community consensus and shared contributions.

### Part of an Awesome List

- [Static Analysis Standards](https://awesome-repositories.com/f/awesome-lists/devtools/ruby-extensions/static-analysis-standards.md) — Serves as a reference for automated linting tools to enforce uniform coding patterns in Ruby source files.
- [Programming Language Standards](https://awesome-repositories.com/f/awesome-lists/devtools/programming-language-standards.md) — Community-driven style guide for Ruby.

### Development Tools & Productivity

- [Code Linters](https://awesome-repositories.com/f/development-tools-productivity/code-linters.md) — Defines patterns and rules used by static analysis tools to identify and report non-compliant code.
- [Ruby Linting Rules](https://awesome-repositories.com/f/development-tools-productivity/code-quality-analysis/static-analysis-engines/static-analysis-tools/static-analysis-rules/framework-linting-rules/ruby-linting-rules.md) — Defines the specific static analysis rules and patterns used to check Ruby code for consistency.
- [Ruby Style Enforcement](https://awesome-repositories.com/f/development-tools-productivity/ruby-style-enforcement.md) — Implements predictable coding styles to reduce friction during peer reviews and improve long-term maintainability.

### Software Engineering & Architecture

- [Code Style Guides](https://awesome-repositories.com/f/software-engineering-architecture/code-style-guides.md) — Provides a community-driven style guide for naming, formatting, and layout to ensure consistent Ruby code readability.
- [Naming Conventions](https://awesome-repositories.com/f/software-engineering-architecture/development-methodologies/engineering-best-practices/code-craftsmanship-standards/coding-standards/naming-conventions.md) — Defines best practices and standardized naming conventions for writing idiomatic Ruby applications.
- [Open Source & Collaboration](https://awesome-repositories.com/f/software-engineering-architecture/development-methodologies/engineering-best-practices/open-source-collaboration.md) — Provides shared community standards to simplify contributions and peer reviews in open-source Ruby projects.
- [Documentation-Driven Standards](https://awesome-repositories.com/f/software-engineering-architecture/documentation-driven-standards.md) — Uses human-readable documentation as the primary source of truth for automated linting enforcement.
- [Style Patterns](https://awesome-repositories.com/f/software-engineering-architecture/package-based-code-organization/language-specific-structural-patterns/style-patterns.md) — Organizes coding standards into specific structural patterns and examples for consistent application.

### Testing & Quality Assurance

- [Static Analysis](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/static-analysis.md) — Implements automated verification that source code adheres to defined structural and formatting constraints.
