.rubocop.yml in api-auth-2.5.0 vs .rubocop.yml in api-auth-2.5.1
- old
+ new
@@ -1,8 +1,9 @@
inherit_from: .rubocop_todo.yml
AllCops:
+ NewCops: enable
TargetRubyVersion: 2.5
Metrics/AbcSize:
Max: 28
@@ -15,12 +16,20 @@
Max: 40
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
+ - 'api_auth.gemspec'
Naming/FileName:
Exclude:
- 'lib/api-auth.rb'
Style/FrozenStringLiteralComment:
+ Enabled: false
+
+Style/StringLiterals:
+ Exclude:
+ - 'gemfiles/*.gemfile'
+
+Lint/DuplicateBranch:
Enabled: false