.rubocop.yml in my_api_client-0.22.0 vs .rubocop.yml in my_api_client-0.23.0
- old
+ new
@@ -3,11 +3,11 @@
- rubocop-rspec
inherit_from: .rubocop_todo.yml
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- rails_app/**/*
- vendor/bundle/**/*
@@ -16,14 +16,14 @@
Exclude:
- my_api/config/application.rb
Metrics/BlockLength:
Exclude:
- - 'my_api_client.gemspec'
- - 'lib/my_api_client/rspec/matchers/**/*'
- - 'spec/**/*'
- - 'my_api/spec/**/*'
+ - "my_api_client.gemspec"
+ - "lib/my_api_client/rspec/matchers/**/*"
+ - "spec/**/*"
+ - "my_api/spec/**/*"
Metrics/MethodLength:
Max: 15
Naming/AccessorMethodName:
@@ -37,20 +37,20 @@
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
RSpec/DescribeClass:
Exclude:
- - 'spec/integrations/api_clients/**/*'
- - 'spec/lib/my_api_client/rspec/matchers/**/*'
+ - "spec/integrations/api_clients/**/*"
+ - "spec/lib/my_api_client/rspec/matchers/**/*"
RSpec/ExampleLength:
Max: 10
RSpec/FilePath:
Exclude:
- - 'spec/lib/my_api_client/integrations/**/*'
- - 'spec/lib/my_api_client/errors/**/*'
- - 'spec/lib/my_api_client/rspec/**/*'
+ - "spec/lib/my_api_client/integrations/**/*"
+ - "spec/lib/my_api_client/errors/**/*"
+ - "spec/lib/my_api_client/rspec/**/*"
RSpec/NestedGroups:
Max: 5
RSpec/MultipleExpectations: