mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Merge pull request #346 from highb/ci/master/fix_rubocop_config
Update rubocop configs
This commit is contained in:
commit
e53d27afab
2 changed files with 4 additions and 4 deletions
|
|
@ -58,7 +58,7 @@ Style/RegexpLiteral:
|
||||||
# In some cases readability is better without these cops enabled
|
# In some cases readability is better without these cops enabled
|
||||||
Style/ConditionalAssignment:
|
Style/ConditionalAssignment:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Next:
|
Style/Next:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Metrics/ParameterLists:
|
Metrics/ParameterLists:
|
||||||
Max: 10
|
Max: 10
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ Layout/EmptyLinesAroundModuleBody:
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||||||
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
||||||
Layout/IndentHash:
|
Layout/IndentFirstHashElement:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/vmpooler/api/helpers.rb'
|
- 'lib/vmpooler/api/helpers.rb'
|
||||||
- 'lib/vmpooler/api/v1.rb'
|
- 'lib/vmpooler/api/v1.rb'
|
||||||
|
|
@ -246,7 +246,7 @@ Style/PerlBackrefs:
|
||||||
# NamePrefix: is_, has_, have_
|
# NamePrefix: is_, has_, have_
|
||||||
# NamePrefixBlacklist: is_, has_, have_
|
# NamePrefixBlacklist: is_, has_, have_
|
||||||
# NameWhitelist: is_a?
|
# NameWhitelist: is_a?
|
||||||
Style/PredicateName:
|
Naming/PredicateName:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/**/*'
|
- 'spec/**/*'
|
||||||
- 'lib/vmpooler/api/helpers.rb'
|
- 'lib/vmpooler/api/helpers.rb'
|
||||||
|
|
@ -289,7 +289,7 @@ Style/TernaryParentheses:
|
||||||
# Offense count: 2
|
# Offense count: 2
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
# SupportedStyles: snake_case, camelCase
|
# SupportedStyles: snake_case, camelCase
|
||||||
Style/VariableName:
|
Naming/VariableName:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/vmpooler/api/v1.rb'
|
- 'lib/vmpooler/api/v1.rb'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue