A Ruby linter and formatter with an unconfigurable, opinionated ruleset built on RuboCop.
Standard Ruby is a linter and formatter for Ruby that enforces a consistent, opinionated code style and quality rules. It is built on RuboCop and provides an unconfigurable configuration to eliminate debates over rule settings, ensuring teams can adopt a standard without setup friction.
Ruby developers and teams looking to enforce consistent code style and quality without spending time configuring linters, especially those working on collaborative projects or legacy codebases.
Developers choose Standard Ruby because it offers a zero-configuration, battle-tested ruleset that saves time, reduces bikeshedding, and provides seamless upgrades and automatic fixes, allowing them to focus on writing code rather than formatting.
Ruby's bikeshed-proof linter and formatter 🚲
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Standard's unconfigurable ruleset eliminates setup debates and saves time, as emphasized in its philosophy against bikeshedding over formatting preferences.
It offers both safe fixes with `--fix` and unsafe fixes for complex issues, enabling quick remediation of most violations without manual edits.
Supports plugins like standard-rails and standard-sorbet via lint_roller, allowing framework-specific rules without altering the core configuration.
Includes LSP support, editor guides for major IDEs, and CI tool integrations, making adoption straightforward across development environments.
The unconfigurable nature prevents teams from adjusting rules to fit unique project needs, which can be restrictive for legacy codebases or specific style requirements.
Standard updates its configuration monthly with new RuboCop rules, risking unexpected linting errors or disruptions in codebases that rely on stable rule sets.
As it's built on RuboCop, issues or changes in RuboCop can directly impact Standard, and users have limited control over rule updates or bug fixes.