Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit e84570b

Browse files
committed
Remove BlockLength cop for unit tests
1 parent a82a032 commit e84570b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,9 @@ Lint/UnusedMethodArgument:
5252
Style/ClassVars:
5353
Enabled: false
5454
Description: 'There are genuine use cases for using class vars.'
55+
56+
Metrics/BlockLength:
57+
Enabled: true
58+
Description: 'Some unit tests are going to be naturally long; no need to flag this up.'
59+
Exclude:
60+
- spec/**/*

0 commit comments

Comments
 (0)