百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

standard-rails

> 后端框架
开源

一个标准的 Ruby 插件,用于配置 rubocop-rails

182 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

一个标准的 Ruby 插件,用于配置 rubocop-rails

standard-rails

This gem provides a lint_roller plugin configuration for the rubocop-rails ruleset, for use as an extension to the Standard Ruby gem.

Usage

First, if you haven't already, get your app set up to run with the standard gem

Next, to add the standard-rails plugin, you'll want to start by adding it to your Gemfile:

ruby
gem "standard-rails", group: [:development, :test]

Next, in your .standard.yml file, list standard-rails as a plugin:

yaml
plugins:
  - standard-rails

Configuration

Even though it'll usually be inferred automatically, you can specify the exact version of Rails you want the rules to be run against like this:

yaml
plugins:
  - standard-rails:
      target_rails_version: 7.0

Code of Conduct

This project follows Test Double's code of conduct for all community interactions, including (but not limited to) one-on-one communications, public posts/comments, code reviews, pull requests, and GitHub issues. If violations occur, Test Double will take any action they deem appropriate for the infraction, up to and including blocking a user from the organization's repositories.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyrailsrubystandardrb

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架