.rubocop.yml in toycol-0.0.1 vs .rubocop.yml in toycol-0.1.0
- old
+ new
@@ -7,17 +7,33 @@
- 'vendor/bundle/**/*'
- 'bin/**'
- 'Rakefile'
- 'toycol.gemspec'
NewCops: enable
- TargetRubyVersion: 3.0
+ TargetRubyVersion: 2.6
+Style/Documentation:
+ Enabled: false
+
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes
Layout/LineLength:
Max: 120
+
+Metrics:
+ Exclude:
+ - lib/toycol/proxy.rb
+
+Metrics/AbcSize:
+ Max: 30
+
+Metrics/ClassLength:
+ Max: 400
+
+Metrics/MethodLength:
+ Max: 15