|
# This configuration was generated by
|
|
# `rubocop --auto-gen-config --exclude-limit 0`
|
|
# on 2015-11-20 20:29:35 -0500 using RuboCop version 0.35.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: 62
|
|
Lint/AmbiguousRegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/DuplicateMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
Lint/DuplicatedKey:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
|
|
Lint/EndAlignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
Lint/Eval:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
Lint/HandleExceptions:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/NestedMethodDefinition:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Lint/NonLocalExitFromIterator:
|
|
Enabled: false
|
|
|
|
# Offense count: 14
|
|
Lint/ParenthesesAsGroupedExpression:
|
|
Enabled: false
|
|
|
|
# Offense count: 51
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks.
|
|
Lint/UnusedBlockArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 74
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 494
|
|
Metrics/AbcSize:
|
|
Max: 114
|
|
|
|
# Offense count: 13
|
|
Metrics/BlockNesting:
|
|
Max: 5
|
|
|
|
# Offense count: 48
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ClassLength:
|
|
Max: 850
|
|
|
|
# Offense count: 131
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 24
|
|
|
|
# Offense count: 7579
|
|
# Configuration parameters: AllowURI, URISchemes.
|
|
Metrics/LineLength:
|
|
Max: 385
|
|
|
|
# Offense count: 379
|
|
# Configuration parameters: CountComments.
|
|
Metrics/MethodLength:
|
|
Max: 124
|
|
|
|
# Offense count: 16
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ModuleLength:
|
|
Max: 450
|
|
|
|
# Offense count: 4
|
|
# Configuration parameters: CountKeywordArgs.
|
|
Metrics/ParameterLists:
|
|
Max: 7
|
|
|
|
# Offense count: 99
|
|
Metrics/PerceivedComplexity:
|
|
Max: 24
|
|
|
|
# Offense count: 20
|
|
# Cop supports --auto-correct.
|
|
Performance/Count:
|
|
Exclude:
|
|
- 'test/unit/orchestration/compute_test.rb'
|
|
- 'test/unit/orchestration/dhcp_test.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Performance/Detect:
|
|
Exclude:
|
|
- 'app/models/compute_resources/foreman/model/gce.rb'
|
|
- 'app/models/nic/interface.rb'
|
|
- 'app/services/smart_proxies/puppet_ca.rb'
|
|
- 'app/services/sso.rb'
|
|
- 'test/unit/usergroup_test.rb'
|
|
|
|
# Offense count: 4
|
|
Performance/FixedSize:
|
|
Exclude:
|
|
- 'test/unit/hostgroup_test.rb'
|
|
- 'test/unit/location_test.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
Performance/ReverseEach:
|
|
Exclude:
|
|
- 'app/models/hostgroup.rb'
|
|
- 'app/services/classification/base.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Performance/StringReplacement:
|
|
Exclude:
|
|
- 'app/models/operatingsystem.rb'
|
|
- 'app/models/operatingsystems/windows.rb'
|
|
|
|
# Offense count: 247
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, Include.
|
|
Rails/ActionFilter:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Rails/Date:
|
|
Enabled: false
|
|
|
|
# Offense count: 28
|
|
# Configuration parameters: Include.
|
|
Rails/DefaultScope:
|
|
Enabled: false
|
|
|
|
# Offense count: 19
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Include.
|
|
Rails/FindBy:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Include.
|
|
Rails/FindEach:
|
|
Enabled: false
|
|
|
|
# Offense count: 14
|
|
# Configuration parameters: Include.
|
|
Rails/HasAndBelongsToMany:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Configuration parameters: Include.
|
|
Rails/Output:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
Rails/PluralizationGrammar:
|
|
Enabled: false
|
|
|
|
# Offense count: 38
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Include.
|
|
Rails/ReadWriteAttribute:
|
|
Enabled: false
|
|
|
|
# Offense count: 48
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Rails/TimeZone:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/AccessModifierIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 27
|
|
Style/AccessorMethodName:
|
|
Enabled: false
|
|
|
|
# Offense count: 398
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
|
Style/AlignHash:
|
|
Enabled: false
|
|
|
|
# Offense count: 75
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/AlignParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 270
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/AndOr:
|
|
Enabled: false
|
|
|
|
# Offense count: 972
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/BracesAroundHashParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 157
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
|
Style/CaseIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 148
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
Style/ClassVars:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
Style/ClosingParenthesisIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
# Cop supports --auto-correct.
|
|
Style/ColonMethodCall:
|
|
Enabled: false
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Keywords.
|
|
Style/CommentAnnotation:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
Style/CommentIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 36
|
|
# Cop supports --auto-correct.
|
|
Style/DeprecatedHashMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 99
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/DotPosition:
|
|
Enabled: false
|
|
|
|
# Offense count: 23
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
Style/EachWithObject:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowAdjacentOneLineDefs.
|
|
Style/EmptyLineBetweenDefs:
|
|
Enabled: false
|
|
|
|
# Offense count: 206
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment.
|
|
Style/ExtraSpacing:
|
|
Enabled: false
|
|
|
|
# Offense count: 14
|
|
# Configuration parameters: Exclude.
|
|
Style/FileName:
|
|
Enabled: false
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/FirstParameterIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 17
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/For:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/FormatString:
|
|
Enabled: false
|
|
|
|
# Offense count: 118
|
|
# Configuration parameters: MinBodyLength.
|
|
Style/GuardClause:
|
|
Enabled: false
|
|
|
|
# Offense count: 200
|
|
# Cop supports --auto-correct.
|
|
Style/LeadingCommentSpace:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Cop supports --auto-correct.
|
|
Style/LineEndConcatenation:
|
|
Enabled: false
|
|
|
|
# Offense count: 28
|
|
# Cop supports --auto-correct.
|
|
Style/MethodCallParentheses:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/MethodDefParentheses:
|
|
Enabled: false
|
|
|
|
# Offense count: 46
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/MethodName:
|
|
Enabled: false
|
|
|
|
# Offense count: 143
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/MultilineOperationIndentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
Style/MultilineTernaryOperator:
|
|
Enabled: false
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
Style/NegatedIf:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/NestedModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 22
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
Style/Next:
|
|
Enabled: false
|
|
|
|
# Offense count: 16
|
|
# Cop supports --auto-correct.
|
|
Style/Not:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
Style/NumericLiterals:
|
|
MinDigits: 15
|
|
|
|
# Offense count: 2
|
|
Style/OpMethod:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
# Cop supports --auto-correct.
|
|
Style/ParallelAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 39
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Style/ParenthesesAroundCondition:
|
|
Enabled: false
|
|
|
|
# Offense count: 99
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: PreferredDelimiters.
|
|
Style/PercentLiteralDelimiters:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
# Offense count: 21
|
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
Style/PredicateName:
|
|
Enabled: false
|
|
|
|
# Offense count: 61
|
|
# Cop supports --auto-correct.
|
|
Style/Proc:
|
|
Enabled: false
|
|
|
|
# Offense count: 42
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/RaiseArgs:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantBegin:
|
|
Enabled: false
|
|
|
|
# Offense count: 428
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantSelf:
|
|
Enabled: false
|
|
|
|
# Offense count: 48
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
Style/RegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RescueEnsureAlignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 48
|
|
# Cop supports --auto-correct.
|
|
Style/RescueModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 185
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/SignalException:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: Methods.
|
|
Style/SingleLineBlockParams:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowIfMethodIsEmpty.
|
|
Style/SingleLineMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 95
|
|
# Cop supports --auto-correct.
|
|
Style/SingleSpaceBeforeFirstArg:
|
|
Enabled: false
|
|
|
|
# Offense count: 511
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceAfterComma:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleInsidePipes, SupportedStyles.
|
|
Style/SpaceAroundBlockParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 823
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MultiSpaceAllowedForOperators.
|
|
Style/SpaceAroundOperators:
|
|
Enabled: false
|
|
|
|
# Offense count: 64
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/SpaceBeforeBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 381
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
Style/SpaceInsideBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 194
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideBrackets:
|
|
Enabled: false
|
|
|
|
# Offense count: 3304
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 73
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideParens:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideRangeLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/SpaceInsideStringInterpolation:
|
|
Enabled: false
|
|
|
|
# Offense count: 11162
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/StringLiterals:
|
|
Enabled: false
|
|
|
|
# Offense count: 24
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/StringLiteralsInInterpolation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Style/StructInheritance:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
Style/SymbolLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 55
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoredMethods.
|
|
Style/SymbolProc:
|
|
Enabled: false
|
|
|
|
# Offense count: 97
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
Style/TrailingBlankLines:
|
|
Enabled: false
|
|
|
|
# Offense count: 46
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
Style/TrailingComma:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
|
Style/TrivialAccessors:
|
|
Enabled: false
|
|
|
|
# Offense count: 261
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: WordRegex.
|
|
Style/WordArray:
|
|
MinSize: 21
|