加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.rubocop.yml 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
Fengguang 提交于 2020-09-19 20:51 . rename crystal-ci to compass-ci
AllCops:
NewCops: enable
Style/FormatStringToken:
Description: 'Use a consistent style for format string tokens.'
Enabled: false
Style/CommandLiteral:
Description: 'Use `` or %x around command literals.'
Enabled: false
Style/PerlBackrefs:
Description: 'Avoid Perl-style regex back references.'
Enabled: false
Metrics/MethodLength:
Enabled: true
CountComments: false # count full line comments?
CountAsOne: ['array', 'hash', 'heredoc']
Max: 15
Metrics/BlockLength:
Enabled: true
CountComments: false # count full line comments?
CountAsOne: ['array', 'hash', 'heredoc']
ExcludedMethods: ['refine', 'OptionParser.new']
Max: 15
Style/RedundantReturn:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/NumericLiterals:
Enabled: false
Layout/HeredocIndentation:
Enabled: false
Style/BlockComments:
Enabled: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化