.rubocop.yml in jekyll_google_translate-0.1.0 vs .rubocop.yml in jekyll_google_translate-0.1.1
- old
+ new
@@ -6,66 +6,78 @@
- rubocop-rspec
AllCops:
Exclude:
- binstub/**/*
- - exe/**/*
+ - demo/_site/*
- vendor/**/*
- Gemfile*
NewCops: enable
- TargetRubyVersion: 3.1.3
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
+Gemspec/RequiredRubyVersion:
+ Enabled: false
+
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Layout/LineLength:
Max: 150
Metrics/AbcSize:
- Max: 35
+ Max: 55
Metrics/BlockLength:
Exclude:
- - jekyll_google_translate.gemspec
+ - jekyll_plugin_support.gemspec
Max: 30
Metrics/CyclomaticComplexity:
- Max: 15
+ Max: 25
Metrics/MethodLength:
- Max: 40
+ Max: 50
-Metrics/ModuleLength:
- Enabled: false
-
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