Skip to content

Commit ce49e91

Browse files
committed
Bribe cop to pass over methods length
1 parent cc7b5ae commit ce49e91

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.rubocop.yml

+5
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ Metrics/LineLength:
1111
Exclude:
1212
- 'test/**/*'
1313

14+
Metrics/MethodLength:
15+
Max: 13
16+
Exclude:
17+
- 'test/**/*'
18+
1419
Style/HashSyntax:
1520
EnforcedStyle: hash_rockets

.rubocop_todo.yml

-9
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@
55
# Note that changes in the inspected code, or installation of new
66
# versions of RuboCop, may require this file to be generated again.
77

8-
# Offense count: 11
9-
# Configuration parameters: CountComments.
10-
Metrics/MethodLength:
11-
Max: 20
12-
13-
# Offense count: 1
14-
Metrics/PerceivedComplexity:
15-
Max: 8
16-
178
# Offense count: 1
189
# Cop supports --auto-correct.
1910
# Configuration parameters: EnforcedStyle, SupportedStyles.

0 commit comments

Comments
 (0)