مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
style(rubocop): Style/SelectByRegexp
هذا الالتزام موجود في:
14
.rubocop.yml
14
.rubocop.yml
@@ -113,17 +113,6 @@ Lint/BooleanSymbol:
|
||||
Style/SymbolProc:
|
||||
Enabled: false
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Exclude:
|
||||
- "spec/factories/**/*.rb"
|
||||
- "spec/**/*_spec.rb"
|
||||
- "spec/support/**/*.rb"
|
||||
- "spec/specs/support/**/*.rb"
|
||||
- "db/schema.rb"
|
||||
- "db/migrate/**/*.rb"
|
||||
- "lib/tasks/auto_annotate_models.rake"
|
||||
- "config/routes.rb"
|
||||
|
||||
# Allow a maxmium of 5 arguments and don't include keyword arguments
|
||||
Metrics/ParameterLists:
|
||||
Max: 5
|
||||
@@ -175,6 +164,9 @@ Metrics/BlockLength:
|
||||
Metrics/ClassLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Enabled: false
|
||||
|
||||
Lint/UnusedMethodArgument:
|
||||
Enabled: false
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم