Skip to content

Commit 1024d36

Browse files
committed
Move Metrics/PerceivedComplexity to .rubocop_todo.yml
1 parent 33bae30 commit 1024d36

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/PerceivedComplexity:
43+
Max: 11
44+
4245
Metrics/ClassLength:
4346
Exclude:
4447
- "**/*_test.rb"

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,3 @@ Metrics/CyclomaticComplexity:
2020
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2121
Metrics/MethodLength:
2222
Max: 45
23-
24-
# Offense count: 3
25-
# Configuration parameters: AllowedMethods, AllowedPatterns.
26-
Metrics/PerceivedComplexity:
27-
Max: 11

0 commit comments

Comments
 (0)