.rubocop.yml in seo_cache-0.16.0 vs .rubocop.yml in seo_cache-0.17.0
- old
+ new
@@ -1,23 +1,30 @@
+# Documentation
+# https://github.com/bbatsov/rubocop/blob/master/config/default.yml
+# http://rubocop.readthedocs.io/en/latest
+
AllCops:
TargetRubyVersion: 2.6
-Documentation:
+Bundler/OrderedGems:
Enabled: false
-LineLength:
+Layout/HashAlignment:
Enabled: false
-Bundler/OrderedGems:
+Layout/ParameterAlignment:
Enabled: false
Layout/CaseIndentation:
Enabled: false
Layout/CommentIndentation:
Enabled: false
+Layout/EmptyLinesAroundBlockBody:
+ Enabled: false
+
Layout/EmptyLinesAroundClassBody:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
@@ -33,13 +40,10 @@
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
-Layout/HashAlignment:
- Enabled: false
-
Layout/LeadingCommentSpace:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: false
@@ -51,13 +55,10 @@
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
-Layout/ParameterAlignment:
- Enabled: false
-
Layout/SpaceAroundOperators:
Enabled: false
Layout/SpaceInLambdaLiteral:
Enabled: false
@@ -87,62 +88,34 @@
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 120
-Metrics/ModuleLength:
- CountComments: false # count full line comments?
- Max: 350
-
-Metrics/ParameterLists:
- Max: 7
-
Metrics/PerceivedComplexity:
Enabled: false
Naming/RescuedExceptionsVariableName:
Enabled: false
-Rails/DynamicFindBy:
+Style/AsciiComments:
Enabled: false
-Rails/FindBy:
+Style/BlockDelimiters:
Enabled: false
-Rails/HasAndBelongsToMany:
- Enabled: false
-
-Rails/HelperInstanceVariable:
- Enabled: false
-
-Rails/OutputSafety:
- Enabled: false
-
-Rails/UnknownEnv:
- Enabled: false
-
-Rails/Validation:
- Enabled: false
-
-RSpec/ExampleLength:
- Max: 20
-
-RSpec/MultipleExpectations:
- Max: 10
-
-Style/AsciiComments:
- Enabled: false
-
Style/ClassAndModuleChildren:
Enabled: false
Style/ColonMethodCall:
Enabled: false
Style/CommandLiteral:
Enabled: false
-Style/FrozenStringLiteralComment:
+Style/DoubleNegation:
+ Enabled: false
+
+Style/GlobalVars:
Enabled: false
Style/Lambda:
Enabled: false