2017-09-14 08:50:10 +00:00
|
|
|
require: rubocop-rspec
|
|
|
|
|
|
|
|
##
|
|
|
|
## TEMPORARILY disabled
|
|
|
|
##
|
|
|
|
|
2019-12-21 19:27:54 +00:00
|
|
|
AllCops:
|
|
|
|
TargetRubyVersion: 2.5
|
2017-09-14 08:50:10 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## LOCAL PREFERENCES
|
|
|
|
##
|
|
|
|
# Allow bigger test cases ('examples')
|
|
|
|
RSpec/ExampleLength:
|
|
|
|
Enabled: true
|
2019-12-21 16:15:14 +00:00
|
|
|
Max: 10
|
2017-09-14 08:50:10 +00:00
|
|
|
|
2019-12-21 19:27:54 +00:00
|
|
|
Metrics/MethodLength:
|
|
|
|
Enabled: true
|
|
|
|
Max: 10
|
|
|
|
|
2017-09-14 08:50:10 +00:00
|
|
|
Metrics/BlockLength:
|
|
|
|
Enabled: false
|
2019-12-21 19:27:54 +00:00
|
|
|
Exclude:
|
2017-09-14 08:50:10 +00:00
|
|
|
- spec/**/*
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Disable errors due to rspec-specific patterns
|
|
|
|
RSpec/DescribedClass:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
##
|
|
|
|
## DISABLE all layout/whitespace-related errors
|
|
|
|
##
|
|
|
|
|
|
|
|
RSpec/FilePath:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IfUnlessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineIfThen:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Style/FileName:
|
|
|
|
# Enabled: false
|
|
|
|
|
|
|
|
# Style/StringLiterals:
|
|
|
|
# Enabled: false
|
|
|
|
|
|
|
|
Style/FormatString:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|