.rubocop.yml
require: rubocop-rspec
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.7
Layout/LineLength:
Max: 90
Metrics/BlockLength:
Exclude:
- 'spec/**/*_spec.rb'
- 'spec/support/**/*.rb'
- '*.gemspec'
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*_spec.rb'
RSpec/AlignLeftLetBrace:
Enabled: true
RSpec/DescribedClass:
Exclude:
- 'spec/integration/yard/**/*_spec.rb'
RSpec/ExampleLength:
Exclude:
- 'spec/integration/yard/**/*_spec.rb'
- 'spec/integration/readme/**/*_spec.rb'
RSpec/MultipleExpectations:
Exclude:
- 'spec/integration/yard/**/*_spec.rb'
- 'spec/integration/readme/**/*_spec.rb'
RSpec/NestedGroups:
Max: 5
Exclude:
- 'spec/integration/yard/**/*.rb'
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
RSpec/DescribeClass:
Exclude:
- 'spec/integration/**/*_spec.rb'