mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +00:00
style(rubocop): Lint/ShadowingOuterLocalVariable
This commit is contained in:
+6
-15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user