style(rubocop): Lint/ShadowingOuterLocalVariable

This commit is contained in:
Adam Cooke
2024-02-10 22:51:09 +00:00
parent bd85920565
commit 7119e8642d
6 changed files with 43 additions and 52 deletions
+6 -15
View File
@@ -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