.rubocop.yml in cosensee-0.6.0 vs .rubocop.yml in cosensee-0.8.0
- old
+ new
@@ -3,10 +3,11 @@
AllCops:
TargetRubyVersion: '3.4'
NewCops: enable
require:
+ - rubocop-factory_bot
- rubocop-rake
- rubocop-rspec
Layout/LineLength:
Max: 300
@@ -15,11 +16,11 @@
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Metrics/AbcSize:
- Max: 60
+ Max: 80
Metrics/ClassLength:
Max: 300
Metrics/CyclomaticComplexity:
@@ -30,15 +31,18 @@
Metrics/MethodLength:
Max: 80
Metrics/ParameterLists:
- Max: 8
+ Max: 10
Metrics/PerceivedComplexity:
Max: 20
+Style/FetchEnvVar:
+ Enabled: false
+
Style/MinMaxComparison:
Enabled: false
Style/NumericLiterals:
Enabled: false
@@ -50,7 +54,14 @@
Max: 50
RSpec/MultipleExpectations:
Enabled: false
+RSpec/MultipleMemoizedHelpers:
+ Max: 7
+
Style/NumericPredicate:
Enabled: false
+
+Style/HashSyntax:
+ EnforcedStyle: ruby19_no_mixed_keys
+ EnforcedShorthandSyntax: always