.rubocop.yml in jekyll_flexible_include-2.0.20 vs .rubocop.yml in jekyll_flexible_include-2.0.21
- old
+ new
@@ -6,22 +6,25 @@
- rubocop-rspec
AllCops:
Exclude:
- demo/_site/**/*
+ - binstub/**/*
- exe/**/*
- vendor/**/*
- Gemfile*
NewCops: enable
- TargetRubyVersion: 2.6
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
+Gemspec/RequiredRubyVersion:
+ Enabled: false
+
Layout/InitialIndentation:
Exclude:
- README.md
Layout/HashAlignment:
@@ -37,11 +40,11 @@
Lint/RedundantCopDisableDirective:
Exclude:
- jekyll_flexible_include_plugin.gemspec
Metrics/AbcSize:
- Max: 45
+ Max: 50
Metrics/BlockLength:
Exclude:
- jekyll_flexible_include_plugin.gemspec
- spec/**/*
@@ -51,15 +54,18 @@
- spec/**/*
Metrics/CyclomaticComplexity:
Max: 20
+Metrics/ModuleLength:
+ Max: 150
+
Metrics/MethodLength:
- Max: 40
+ Max: 50
Metrics/PerceivedComplexity:
- Max: 15
+ Max: 25
Naming/FileName:
Exclude:
- Rakefile
@@ -86,11 +92,10 @@
Style/RegexpLiteral:
Enabled: false
Style/StringConcatenation:
- Exclude:
- - spec/**/*
+ Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiteralsInInterpolation: