mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Previously, there were some rubocop rule names that were causing rubocop to fail to run entirely. This commit updates the rubocop configs to match the new rubocop rule names so that we can see all the issues that need correcting.
306 lines
8.2 KiB
YAML
306 lines
8.2 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2017-07-18 15:25:35 -0700 using RuboCop version 0.49.1.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
|
Layout/AlignParameters:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentOneStep, IndentationWidth.
|
|
# SupportedStyles: case, end
|
|
Layout/CaseIndentation:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/ClosingParenthesisIndentation:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/EmptyLines:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/dashboard.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
|
Layout/EmptyLinesAroundClassBody:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
|
Layout/EmptyLinesAroundModuleBody:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
Layout/IndentFirstHashElement:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Width, IgnoredPatterns.
|
|
Layout/IndentationWidth:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineMethodCallBraceLayout:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: space, no_space
|
|
Layout/SpaceAroundEqualsInParameterDefault:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceAroundKeyword:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment.
|
|
Layout/SpaceAroundOperators:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceInsideBrackets:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
|
|
# SupportedStyles: space, no_space, compact
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceInsideParens:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
Lint/HandleExceptions:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/dashboard.rb'
|
|
|
|
# Offense count: 1
|
|
Lint/ShadowingOuterLocalVariable:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 6
|
|
Lint/UselessAssignment:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/dashboard.rb'
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Performance/RedundantMatch:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: always, conditionals
|
|
Style/AndOr:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: braces, no_braces, context_dependent
|
|
Style/BracesAroundHashParameters:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
Style/CaseEquality:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: for, each
|
|
Style/For:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/dashboard.rb'
|
|
|
|
# Offense count: 24
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
|
Style/HashSyntax:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MaxLineLength.
|
|
Style/IfUnlessModifier:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: both, prefix, postfix
|
|
Style/NegatedIf:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
Style/Not:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: predicate, comparison
|
|
Style/NumericPredicate:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/ParallelAssignment:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Style/ParenthesesAroundCondition:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/PerlBackrefs:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
# NamePrefix: is_, has_, have_
|
|
# NamePrefixBlacklist: is_, has_, have_
|
|
# NameWhitelist: is_a?
|
|
Naming/PredicateName:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantParentheses:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
Style/RedundantReturn:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantSelf:
|
|
Exclude:
|
|
- 'lib/vmpooler/api.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiterals:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
|
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
|
Style/TernaryParentheses:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: snake_case, camelCase
|
|
Naming/VariableName:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/v1.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/YodaCondition:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/ZeroLengthPredicate:
|
|
Exclude:
|
|
- 'lib/vmpooler/api/helpers.rb'
|