mirror of
https://github.com/puppetlabs/vmpooler-dns-gcp.git
synced 2026-01-26 02:58:42 -05:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
AllCops:
|
|
Include:
|
|
- 'lib/**/*.rb'
|
|
Exclude:
|
|
- 'scripts/**/*'
|
|
- 'spec/**/*'
|
|
- 'vendor/**/*'
|
|
- Gemfile
|
|
- Rakefile
|
|
|
|
# These short variable names make sense as exceptions to the rule, but generally I think short variable names do hurt readability
|
|
Naming/MethodParameterName:
|
|
AllowedNames:
|
|
- vm
|
|
- dc
|
|
- s
|
|
- x
|
|
- f
|
|
|
|
#new cops:
|
|
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
|
|
Enabled: true
|
|
Lint/EmptyBlock: # (new in 1.1)
|
|
Enabled: true
|
|
Lint/ToEnumArguments: # (new in 1.1)
|
|
Enabled: true
|
|
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
|
Enabled: true
|
|
Style/ArgumentsForwarding: # (new in 1.1)
|
|
Enabled: false
|
|
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
|
Enabled: true
|
|
Style/SwapValues: # (new in 1.1)
|
|
Enabled: false
|
|
|
|
#disabled
|
|
|
|
Metrics/AbcSize:
|
|
Enabled: false
|
|
Metrics/ClassLength:
|
|
Enabled: false
|
|
Metrics/CyclomaticComplexity:
|
|
Enabled: false
|
|
Metrics/MethodLength:
|
|
Enabled: false
|
|
Metrics/PerceivedComplexity:
|
|
Enabled: false
|
|
Metrics/ParameterLists:
|
|
Enabled: false
|
|
Layout/LineLength:
|
|
Enabled: false
|
|
Metrics/BlockLength:
|
|
Enabled: false
|