10 Star 33 Fork 0

过纯中 / wechat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.rubocop.yml 735 Bytes
一键复制 编辑 原始数据 按行查看 历史
ericguo 提交于 2022-05-29 14:23 . Loose complexity in rubocop.
AllCops:
Include:
- 'lib/**/*.rb'
Exclude:
- 'bin/**/*'
- 'vendor/**/*'
- 'spec/**/*.rb'
- 'lib/generators/wechat/templates/app/controllers/wechats_controller.rb'
NewCops: enable
DisplayCopNames: true
StyleGuideCopsOnly: false
TargetRubyVersion: 2.5
Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 180
Metrics/AbcSize:
Max: 85
Metrics/ClassLength:
Max: 250
Metrics/ModuleLength:
Max: 250
Metrics/MethodLength:
Max: 40
Metrics/ParameterLists:
Max: 12
Style/NumericLiterals:
MinDigits: 7
Metrics/PerceivedComplexity:
Max: 28
Metrics/CyclomaticComplexity:
Max: 28
Style/AsciiComments:
Enabled: false
Style/OpenStructUse:
Enabled: false
Metrics/BlockNesting:
Max: 4
Ruby
1
https://gitee.com/Eric-Guo/wechat.git
git@gitee.com:Eric-Guo/wechat.git
Eric-Guo
wechat
wechat
main

搜索帮助

14c37bed 8189591 565d56ea 8189591