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