.rubocop.yml in departure-6.6.0 vs .rubocop.yml in departure-6.7.0
- old
+ new
@@ -1,9 +1,12 @@
---
inherit_from:
- .rubocop_todo.yml
+require:
+ - rubocop-performance
+
AllCops:
TargetRubyVersion: 2.4
Metrics/AbcSize:
Enabled: false
@@ -18,11 +21,11 @@
Max: 4
Metrics/ClassLength:
Max: 250
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
Exclude:
- 'departure.gemspec'
- 'test_database.rb'
@@ -36,16 +39,10 @@
Max: 5
Performance/Casecmp:
Enabled: false
-Style/BracesAroundHashParameters:
- Exclude:
- - 'spec/fixtures/migrate/**.rb'
- - 'spec/integration/**.rb'
- - 'spec/lhm/adapter/**.rb'
-
Style/CommandLiteral:
Exclude:
- 'test_database.rb'
Style/Documentation:
@@ -62,8 +59,8 @@
Enabled: false
Style/SymbolArray:
Enabled: false
-Style/UnneededPercentQ:
+Style/RedundantPercentQ:
Exclude:
- 'departure.gemspec'