inspec/.rubocop.yml

66 lines
1.1 KiB
YAML
Raw Normal View History

2015-09-04 08:00:02 +00:00
---
AllCops:
Exclude:
- Gemfile
- Rakefile
- 'test/**/*'
- 'examples/**/*'
2015-10-05 10:38:26 +00:00
- 'vendor/**/*'
2015-09-04 08:00:02 +00:00
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:
2015-10-26 03:39:16 +00:00
Max: 33
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