1 Star 0 Fork 9

Kevin/motor-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.rubocop.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Pete Matsyburka 提交于 2021-10-16 22:29 . refactor DB credentials setup
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- node_modules/**/*
- ui/node_modules/**/*
- bin/*
- vendor/**/*
- gems/**/*
- db/schema.rb
- lib/generators/motor/templates/**/*
- Gemfile
TargetRubyVersion: '3.0'
Metrics/BlockLength:
Exclude:
- Rakefile
- '**/*.rake'
- spec/**/*
- config/environments/*
- config/routes.rb
Style/Documentation:
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/jpkhac/motor-admin.git
git@gitee.com:jpkhac/motor-admin.git
jpkhac
motor-admin
motor-admin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385