linux-baseline/.rubocop.yml
2016-12-21 11:54:18 +01:00

29 lines
476 B
YAML

---
AllCops:
Exclude:
- vendor/**/*
- "*/puppet/Puppetfile"
- "*/puppet/.tmp/**/*"
TargetRubyVersion: 1.9
Documentation:
Enabled: false
AlignParameters:
Enabled: true
HashSyntax:
Enabled: true
LineLength:
Enabled: false
EmptyLinesAroundBlockBody:
Enabled: false
MethodLength:
Max: 40
NumericLiterals:
MinDigits: 10
Metrics/BlockLength:
Max: 35
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 30