1 Star 0 Fork 9

i_star/motor-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.rubocop.yml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
Pete Matsyburka 提交于 2022-05-29 11:20 . update deps
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- node_modules/**/*
- bin/*
- vendor/**/*
- gems/**/*
- db/schema.rb
- Gemfile
TargetRubyVersion: '3.0'
Metrics/BlockLength:
Exclude:
- Rakefile
- '**/*.rake'
- spec/**/*
- config/environments/*
- config/routes.rb
Style/Documentation:
Enabled: false
Style/FetchEnvVar:
Enabled: false
Metrics/MethodLength:
Max: 20
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 20
Naming/FileName:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 2
Metrics/ModuleLength:
Max: 300
Rails/Date:
Enabled: false
Rails/SquishedSQLHeredocs:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Rails/ApplicationRecord:
Enabled: false
Rails/Output:
Enabled: false
Rails/LexicallyScopedActionFilter:
Enabled: false
RSpec/ExampleLength:
Max: 20
RSpec/MultipleExpectations:
Max: 10
RSpec/NestedGroups:
Max: 5
RSpec/Capybara/VisibilityMatcher:
Enabled: false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/i_star/motor-admin.git
git@gitee.com:i_star/motor-admin.git
i_star
motor-admin
motor-admin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385