مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
style(rubocop): Lint/ShadowingOuterLocalVariable
هذا الالتزام موجود في:
21
.rubocop.yml
21
.rubocop.yml
@@ -118,17 +118,6 @@ Lint/BooleanSymbol:
|
||||
Style/SymbolProc:
|
||||
Enabled: false
|
||||
|
||||
# Excluding specs from block lengths
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- "spec/**/*.rb"
|
||||
- "db/schema.rb"
|
||||
- "db/migrate/**/*.rb"
|
||||
- "lib/tasks/auto_annotate_models.rake"
|
||||
- "config/routes.rb"
|
||||
- "lib/tasks/*.rake"
|
||||
- "app/apis/core_api/base.rb"
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Exclude:
|
||||
- "spec/factories/**/*.rb"
|
||||
@@ -150,10 +139,6 @@ Style/MultilineBlockChain:
|
||||
Exclude:
|
||||
- "spec/**/*.rb"
|
||||
|
||||
# Increase class lengths to a more reasonable place
|
||||
Metrics/ClassLength:
|
||||
Max: 250
|
||||
|
||||
Metrics/AbcSize:
|
||||
Enabled: false
|
||||
|
||||
@@ -188,3 +173,9 @@ Metrics/BlockNesting:
|
||||
|
||||
Style/StringConcatenation:
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/ClassLength:
|
||||
Enabled: false
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم