Skip to content

Commit

Permalink
style(rubocop): relax method length and block nexting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Feb 10, 2024
1 parent a5d5ba5 commit b0ac9ef
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .rubocop.yml
Expand Up @@ -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
Expand Down Expand Up @@ -181,3 +177,11 @@ Metrics/PerceivedComplexity:
Metrics/CyclomaticComplexity:
# As above.
Enabled: false

Metrics/MethodLength:
# As above.
Enabled: false

Metrics/BlockNesting:
# As above.
Enabled: false

0 comments on commit b0ac9ef

Please sign in to comment.