.rubocop.yml
LineLength:
Enabled: true
Max: 120
BlockLength:
Enabled: false
MethodLength:
Enabled: true
Max: 60
ClassLength:
Enabled: true
Max: 300
Exclude:
- 'test/**/*'
AbcSize:
Enabled: false
CyclomaticComplexity:
Enabled: true
Max: 15
PerceivedComplexity:
Enabled: false
RegexpLiteral:
Enabled: false
EnforcedStyle: slashes
SupportedStyles: slashes
CyclomaticComplexity:
Enabled: true
Max: 20
Layout/EndOfLine:
Enabled: false
AllCops:
TargetRubyVersion: 2.1
Include:
- 'lib/**/*.rb'
Exclude:
- 'Rakefile'
- 'Gemfile'