Skip to content

Commit

Permalink
Disable Metrics/ModuleLength cop
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Apr 30, 2022
1 parent acd75c6 commit 19c1eab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Metrics/BlockLength:
- spec/**/*
- rack-test.gemspec

# Rationale: Enforcing maximum module length makes code worse, without exception
Metrics/ModuleLength:
Enabled: false

# Rationale: allow Weirich-style blocks, but do not enforce them.
Style/BlockDelimiters:
Enabled: false
Expand Down

0 comments on commit 19c1eab

Please sign in to comment.