مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
style(rubocop): relax method length and block nexting for now
هذا الالتزام موجود في:
12
.rubocop.yml
12
.rubocop.yml
@@ -140,10 +140,6 @@ Metrics/ModuleLength:
|
||||
- "lib/tasks/auto_annotate_models.rake"
|
||||
- "config/routes.rb"
|
||||
|
||||
# Slightly increase tyhe default method length to be a bit more forgiving
|
||||
Metrics/MethodLength:
|
||||
Max: 30
|
||||
|
||||
# Allow a maxmium of 5 arguments and don't include keyword arguments
|
||||
Metrics/ParameterLists:
|
||||
Max: 5
|
||||
@@ -181,3 +177,11 @@ Metrics/PerceivedComplexity:
|
||||
Metrics/CyclomaticComplexity:
|
||||
# As above.
|
||||
Enabled: false
|
||||
|
||||
Metrics/MethodLength:
|
||||
# As above.
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockNesting:
|
||||
# As above.
|
||||
Enabled: false
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم