Skip to content

Commit 89928cc

Browse files
committed
Move Metrics/CyclomaticComplexity to .rubocop_todo.yml
1 parent 1024d36 commit 89928cc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Metrics/BlockLength:
3939
- "*.gemspec"
4040
- "**/*_spec.rb"
4141

42+
Metrics/CyclomaticComplexity:
43+
Max: 13
44+
4245
Metrics/PerceivedComplexity:
4346
Max: 11
4447

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
Metrics/AbcSize:
1212
Max: 46
1313

14-
# Offense count: 5
15-
# Configuration parameters: AllowedMethods, AllowedPatterns.
16-
Metrics/CyclomaticComplexity:
17-
Max: 13
18-
1914
# Offense count: 17
2015
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2116
Metrics/MethodLength:

0 commit comments

Comments
 (0)