.rubocop.yml
require: rubocop-rspec
AllCops:
TargetRubyVersion: 2.7
Metrics/MethodLength:
Max: 20
Metrics/AbcSize:
Max: 25
Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 100
Layout/EmptyLinesAroundArguments:
Enabled: false
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/ExponentialNotation:
Enabled: true
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/SlicingWithRange:
Enabled: true
RSpec/DescribeClass:
Exclude:
- spec/bin/**/*
RSpec/ExampleLength:
Exclude:
- spec/bin/**/*