.rubocop.yml in jekyll_pre-1.4.5 vs .rubocop.yml in jekyll_pre-1.4.6
- old
+ new
@@ -6,64 +6,78 @@
- rubocop-rspec
AllCops:
Exclude:
- binstub/**/*
+ - demo/_site/*
- vendor/**/*
- Gemfile*
NewCops: enable
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
-Gemspec/RequiredRubyVersion:
+Gemspec/RequireMFA:
Enabled: false
-Gemspec/RequireMFA:
+Gemspec/RequiredRubyVersion:
Enabled: false
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Layout/LineLength:
Max: 150
Metrics/AbcSize:
- Max: 35
+ Max: 55
Metrics/BlockLength:
Exclude:
- - jekyll_pre.gemspec
+ - jekyll_plugin_support.gemspec
Max: 30
Metrics/CyclomaticComplexity:
- Max: 15
+ Max: 25
Metrics/MethodLength:
- Max: 30
+ Max: 50
Metrics/PerceivedComplexity:
- Max: 15
+ Max: 25
Naming/FileName:
Exclude:
- Rakefile
+ - "*.md"
+RSpec/ExampleLength:
+ Max: 30
+
+RSpec/SpecFilePathFormat:
+ Enabled: false
+ IgnoreMethods: true
+
+RSpec/SpecFilePathSuffix:
+ Enabled: false
+
+RSpec/IndexedLet:
+ Enabled: false
+
+RSpec/MultipleExpectations:
+ Max: 15
+
+Style/ClassVars:
+ Enabled: false
+
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
+Style/StringConcatenation:
+ Enabled: false
+
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
-
-RSpec/FilePath:
- IgnoreMethods: true
- SpecSuffixOnly: true
-
-RSpec/ExampleLength:
- Max: 30
-
-RSpec/MultipleExpectations:
- Max: 15