.rubocop.yml in sequel_vault-0.5.1 vs .rubocop.yml in sequel_vault-0.5.2
- old
+ new
@@ -1,44 +1,37 @@
-Style/AlignHash:
- Enabled: false
+AllCops:
+ TargetRubyVersion: 2.2
-Style/AlignArray:
- Enabled: false
+require:
+ - rubocop-rspec
-Style/AlignParameters:
- Enabled: false
+# Offense count: 1
+Metrics/AbcSize:
+ Max: 21
-Style/Documentation:
- Enabled: false
+# Offense count: 1
+# Configuration parameters: CountComments, ExcludedMethods.
+Metrics/BlockLength:
+ Max: 45
-Style/CaseIndentation:
- Enabled: false
+# Offense count: 1
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 11
-Style/IndentHash:
- Enabled: false
+# Offense count: 3
+# Configuration parameters: AggregateFailuresByDefault.
+RSpec/MultipleExpectations:
+ Max: 3
-Style/NumericLiterals:
- Enabled: false
+# Offense count: 2
+Style/Documentation:
+ Exclude:
+ - 'spec/**/*'
+ - 'test/**/*'
+ - 'lib/sequel_vault.rb'
-Style/SignalException:
- Enabled: false
-
-Style/StringLiterals:
- Enabled: false
-
-Style/MultilineOperationIndentation:
- Enabled: false
-
-Style/StringLiterals:
- Enabled: false
-
+# Offense count: 4
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
Metrics/LineLength:
- Max: 250
-
-Metrics/MethodLength:
- Max: 250
-
-Metrics/ClassLength:
- Max: 250
-
-Lint/UselessAssignment:
- Enabled: false
+ Max: 113