namarara/.rubocop.yml

59 lines
772 B
YAML
Raw Normal View History

require: rubocop-rspec
##
## TEMPORARILY disabled
##
2019-12-21 19:27:54 +00:00
AllCops:
TargetRubyVersion: 2.5
##
## LOCAL PREFERENCES
##
# Allow bigger test cases ('examples')
RSpec/ExampleLength:
Enabled: true
Max: 10
2019-12-21 19:27:54 +00:00
Metrics/MethodLength:
Enabled: true
Max: 10
Metrics/BlockLength:
Enabled: false
2019-12-21 19:27:54 +00:00
Exclude:
- 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