.rubocop.yml in tempus-1.0.2 vs .rubocop.yml in tempus-1.1.0
- old
+ new
@@ -1,8 +1,24 @@
-Metrics/BlockLength:
- Exclude:
- - 'tempus.gemspec'
- - 'spec/**/*.rb'
+require:
+ - rubocop-rake
+ - rubocop-rspec
+ - rubocop-performance
+AllCops:
+ NewCops: enable
+ TargetRubyVersion: 2.7
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
+Style/StringLiteralsInInterpolation:
+ Enabled: true
+ EnforcedStyle: double_quotes
+
Layout/LineLength:
- Exclude:
- - 'tempus.gemspec'
+ Max: 120
+
+RSpec/MultipleExpectations:
+ Enabled: false
+
+RSpec/ExampleLength:
+ Max: 25
\ No newline at end of file