.rubocop.yml in api-auth-2.4.1 vs .rubocop.yml in api-auth-2.5.0
- old
+ new
@@ -1,19 +1,23 @@
inherit_from: .rubocop_todo.yml
AllCops:
- TargetRubyVersion: 2.4
+ TargetRubyVersion: 2.5
Metrics/AbcSize:
- Max: 25
+ Max: 28
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 140
Metrics/MethodLength:
Max: 40
+
+Metrics/BlockLength:
+ Exclude:
+ - 'spec/**/*.rb'
Naming/FileName:
Exclude:
- 'lib/api-auth.rb'