.rubocop.yml in departure-6.5.0 vs .rubocop.yml in departure-6.6.0
- old
+ new
@@ -1,6 +1,12 @@
---
+inherit_from:
+ - .rubocop_todo.yml
+
+AllCops:
+ TargetRubyVersion: 2.4
+
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Max: 20
@@ -34,18 +40,22 @@
Style/BracesAroundHashParameters:
Exclude:
- 'spec/fixtures/migrate/**.rb'
- 'spec/integration/**.rb'
+ - 'spec/lhm/adapter/**.rb'
Style/CommandLiteral:
Exclude:
- 'test_database.rb'
Style/Documentation:
Enabled: false
+Style/FrozenStringLiteralComment:
+ Enabled: false # We never ended up being forced to do this for Ruby 3.x
+
Style/MultilineBlockChain:
Exclude:
- 'spec/integration_spec.rb'
Layout/MultilineMethodCallIndentation:
@@ -55,6 +65,5 @@
Enabled: false
Style/UnneededPercentQ:
Exclude:
- 'departure.gemspec'
-