.rubocop.yml in hedgelog-0.2.1.alpha1 vs .rubocop.yml in hedgelog-0.2.1.alpha.2
- old
+ new
@@ -1,67 +1,78 @@
# This is the configuration used to check the rubocop source code.
inherit_from: #{RUBOCOP_HOME}/config/default.yml
AllCops:
- TargetRubyVersion: 2.4
+ SuggestExtensions: false
+ TargetRubyVersion: 2.7
Exclude:
- 'vendor/**/*'
- 'Guardfile'
+ NewCops: enable
-CyclomaticComplexity:
- Max: 15
+Gemspec/RequireMFA:
+ Enabled: false
-PerceivedComplexity:
- Max: 20
-
-MethodLength:
- Max: 30
-
-ClassLength:
+Layout/LeadingCommentSpace:
Enabled: false
-LineLength:
+Layout/LineLength:
Max: 150
-WordArray:
+Layout/SpaceInsideHashLiteralBraces:
+ EnforcedStyle: no_space
+
+Metrics/BlockLength:
+ Exclude:
+ - 'spec/**/*.rb'
+
+Metrics/BlockNesting:
+ Max: 4
+
+Metrics/ClassLength:
Enabled: false
-LeadingCommentSpace:
+Metrics/CyclomaticComplexity:
+ Max: 15
+
+Metrics/MethodLength:
+ Max: 30
+
+Metrics/PerceivedComplexity:
+ Max: 20
+
+Style/AccessModifierDeclarations:
+ EnforcedStyle: inline
+
+Style/CommentAnnotation:
Enabled: false
-CommentAnnotation:
+Style/Documentation:
Enabled: false
-Documentation:
+Style/FrozenStringLiteralComment:
Enabled: false
-Next:
+Style/HashConversion:
+ Enabled: true
+
+Style/Next:
Enabled: false
-OptionalArguments:
+Style/OptionalArguments:
Enabled: false
-SpaceInsideHashLiteralBraces:
- EnforcedStyle: no_space
+Style/RedundantStringEscape:
+ Enabled: true
-SignalException:
+Style/SignalException:
EnforcedStyle: only_raise
-TrivialAccessors:
- AllowPredicates: true
-
-BlockNesting:
- Max: 4
-
Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes
-Metrics/BlockLength:
- Exclude:
- - 'spec/**/*.rb'
+Style/TrivialAccessors:
+ AllowPredicates: true
-Style/FrozenStringLiteralComment:
- Enabled: false
-
-Style/AccessModifierDeclarations:
- EnforcedStyle: inline
+Style/WordArray:
+ Enabled: false
\ No newline at end of file