.rubocop.yml
---
require:
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.3
NewCops: enable
Gemspec/DevelopmentDependencies:
Enabled: false
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Lint/MissingCopEnableDirective:
Enabled: false
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Metrics/BlockLength:
Exclude:
- spec/*
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
Style/Documentation:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true