inspec/.rubocop.yml

68 lines
1.1 KiB
YAML
Raw Normal View History

2015-09-04 08:00:02 +00:00
---
AllCops:
Exclude:
- Gemfile
- Rakefile
- 'test/**/*'
- 'examples/**/*'
Documentation:
Enabled: false
AlignParameters:
Enabled: true
Encoding:
Enabled: true
HashSyntax:
Enabled: true
LineLength:
Enabled: false
EmptyLinesAroundBlockBody:
Enabled: false
MethodLength:
Max: 40
NumericLiterals:
MinDigits: 10
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 29
Style/DotPosition:
EnforcedStyle: trailing
Enabled: true
2015-09-05 14:03:57 +00:00
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%': '{}'
'%i': ()
'%q': '{}'
'%Q': ()
'%r': '{}'
'%s': ()
'%w': '{}'
'%W': ()
'%x': ()
2015-09-04 08:00:02 +00:00
Style/AlignHash:
Enabled: false
Style/PredicateName:
2015-09-05 14:03:57 +00:00
Enabled: false
2015-09-04 08:00:02 +00:00
Style/ClassAndModuleChildren:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false
2015-09-05 14:03:57 +00:00
Style/AndOr:
Enabled: false
Style/Not:
Enabled: false
Style/TrailingComma:
EnforcedStyleForMultiline: comma
2015-09-05 14:03:57 +00:00
Style/NegatedIf:
Enabled: false
Style/UnlessElse:
Enabled: false
2015-09-04 08:00:02 +00:00
BlockDelimiters:
Enabled: false
2015-09-05 14:03:57 +00:00
Style/SpaceAroundOperators:
Enabled: false
Style/IfUnlessModifier:
Enabled: false