.rubocop.yml
---
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
Exclude:
- bin/*
Gemspec/RequireMFA:
Enabled: false
#########
# STYLE #
#########
Style/Documentation:
Enabled: false
Style/RedundantBegin:
Enabled: false
Style/BlockDelimiters:
AllowedPatterns: ['expect']
##########
# LAYOUT #
##########
Layout/LineLength:
Max: 125
Layout/EmptyLines:
Enabled: false
Layout/EmptyLineBetweenDefs:
Enabled: false
Layout/EmptyLinesAroundClassBody:
Enabled: false
Layout/EmptyLinesAroundBlockBody:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
#########
# RSPEC #
#########
RSpec/MultipleExpectations:
Max: 3
RSpec/ExampleLength:
Max: 8