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