.rubocop.yml
require: rubocop-rspec
AllCops:
RunRailsCops: false
Include:
- '**/Rakefile'
- config.ru
Exclude:
- bin/**/*
- db/**/*
- config/**/*
- script/**/*
- db/schema.rb
Style/MultilineOperationIndentation:
EnforcedStyle: indented
Style/Documentation:
Enabled: false
Style/WhileUntilModifier:
MaxLineLength: 120
Exclude:
- spec/**/*
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
EnforcedStyleForEmptyBraces: no_space
Style/MultilineBlockChain:
Enabled: true
Style/DotPosition:
EnforcedStyle: trailing
Enabled: true
Style/SingleLineMethods:
AllowIfMethodIsEmpty: false
Style/NumericLiterals:
Enabled: false
Metrics/LineLength:
Max: 120
Enabled: true
Exclude:
- spec/**/*
Metrics/MethodLength:
CountComments: false
Max: 30