mirror of
https://github.com/inspec/inspec
synced 2024-11-11 07:34:15 +00:00
6a33afc502
similar to golang / js. This makes sure, that each line in a list will definitely carry a comma at the end of it. Benefit: stop thinking about when to put it and when not; just always put it at every line in a list. Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
---
|
|
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
|
|
Style/PercentLiteralDelimiters:
|
|
PreferredDelimiters:
|
|
'%': '{}'
|
|
'%i': ()
|
|
'%q': '{}'
|
|
'%Q': ()
|
|
'%r': '{}'
|
|
'%s': ()
|
|
'%w': '{}'
|
|
'%W': ()
|
|
'%x': ()
|
|
Style/AlignHash:
|
|
Enabled: false
|
|
Style/PredicateName:
|
|
Enabled: false
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: false
|
|
Style/BracesAroundHashParameters:
|
|
Enabled: false
|
|
Style/AndOr:
|
|
Enabled: false
|
|
Style/Not:
|
|
Enabled: false
|
|
Style/TrailingComma:
|
|
EnforcedStyleForMultiline: comma
|
|
Style/NegatedIf:
|
|
Enabled: false
|
|
Style/UnlessElse:
|
|
Enabled: false
|
|
BlockDelimiters:
|
|
Enabled: false
|
|
Style/SpaceAroundOperators:
|
|
Enabled: false
|
|
Style/IfUnlessModifier:
|
|
Enabled: false
|