Skip to content

Commit 3c0ecd2

Browse files
committed
Apply remaining rubocop fixes
1 parent 19666de commit 3c0ecd2

36 files changed

+843
-442
lines changed

.rubocop.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
inherit_from: .rubocop_todo.yml
2+
13
---
24
require:
35
- rubocop-performance
@@ -89,6 +91,8 @@ Performance/CaseWhenSplat:
8991
Performance/Casecmp:
9092
Enabled: true
9193
Performance/CollectionLiteralInLoop:
94+
Exclude:
95+
- spec/**/*
9296
Enabled: true
9397
Performance/CompareWithBlock:
9498
Enabled: true
@@ -294,6 +298,8 @@ Metrics/AbcSize:
294298
Enabled: false
295299
Metrics/BlockLength:
296300
Enabled: false
301+
Metrics/BlockNesting:
302+
Enabled: false
297303
Metrics/ClassLength:
298304
Enabled: false
299305
Metrics/CyclomaticComplexity:
@@ -308,6 +314,8 @@ Metrics/PerceivedComplexity:
308314
Enabled: false
309315
Migration/DepartmentName:
310316
Enabled: false
317+
Naming/AccessorMethodName:
318+
Enabled: false
311319
Naming/BlockParameterName:
312320
Enabled: false
313321
Naming/HeredocDelimiterCase:

0 commit comments

Comments
 (0)