linux-baseline/.rubocop.yml

30 lines
476 B
YAML
Raw Normal View History

---
2014-05-27 07:38:21 +00:00
AllCops:
Exclude:
- vendor/**/*
- "*/puppet/Puppetfile"
- "*/puppet/.tmp/**/*"
2016-12-21 10:40:56 +00:00
TargetRubyVersion: 1.9
2014-05-27 07:38:21 +00:00
Documentation:
Enabled: false
AlignParameters:
Enabled: true
HashSyntax:
Enabled: true
LineLength:
Enabled: false
EmptyLinesAroundBlockBody:
Enabled: false
2014-05-27 07:38:21 +00:00
MethodLength:
Max: 40
2014-05-27 07:38:21 +00:00
NumericLiterals:
MinDigits: 10
2016-12-21 10:40:56 +00:00
Metrics/BlockLength:
Max: 35
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
2016-12-21 10:40:56 +00:00
Max: 30