.rubocop.yml in hedgelog-0.1.9 vs .rubocop.yml in hedgelog-0.1.11
- old
+ new
@@ -1,13 +1,13 @@
# This is the configuration used to check the rubocop source code.
inherit_from: #{RUBOCOP_HOME}/config/default.yml
AllCops:
- Include:
- - '**/lib/**/*'
+ TargetRubyVersion: 2.4
Exclude:
- - 'bin/**/*'
+ - 'vendor/**/*'
+ - 'Guardfile'
CyclomaticComplexity:
Max: 15
PerceivedComplexity:
@@ -54,8 +54,14 @@
Style/StringLiterals:
Enabled: true
EnforcedStyle: single_quotes
-Style/BlockLength:
+Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
+
+Style/FrozenStringLiteralComment:
+ Enabled: false
+
+Style/AccessModifierDeclarations:
+ EnforcedStyle: inline