inherit_from: .rubocop_todo.yml # This configuration was generated by # `rubocop --auto-gen-config` # on 2016-11-22 23:40:05 -0800 using RuboCop version 0.45.0. # 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. AllCops: Include: - spec - lib/puppet - lib/puppet-debugger - lib/awesome_print - lib/version.rb - lib/puppet-debugger.rb - bin # Offense count: 7 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/puppet-debugger/cli.rb' - 'lib/puppet-debugger/support.rb' - 'lib/puppet-debugger/support/input_responders.rb' - 'lib/puppet/application/debugger.rb' # Offense count: 23 # Cop supports --auto-correct. Lint/Debugger: Exclude: - spec/**/*.rb Style/NumericPredicate: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. # SupportedStyles: start_of_line, def #Lint/DefEndAlignment: # Exclude: # - 'lib/puppet-debugger/support/errors.rb' # ## Offense count: 1 #Lint/ElseLayout: # Exclude: # - 'lib/puppet-debugger/support/play.rb' # ## Offense count: 10 ## Cop supports --auto-correct. ## Configuration parameters: AlignWith, SupportedStyles, AutoCorrect. ## SupportedStyles: keyword, variable, start_of_line #Lint/EndAlignment: # Exclude: # - 'lib/puppet-debugger/code/code_file.rb' # - 'lib/puppet-debugger/code/code_range.rb' # - 'lib/puppet-debugger/code/loc.rb' # - 'lib/trollop.rb' # ## Offense count: 3 #Lint/HandleExceptions: # Exclude: # - 'lib/puppet-debugger/support.rb' # - 'lib/trollop.rb' # ## Offense count: 1 #Lint/NestedMethodDefinition: # Exclude: # - 'lib/trollop.rb' # ## Offense count: 1 #Lint/ShadowingOuterLocalVariable: # Exclude: # - 'lib/puppet-debugger/support/input_responders.rb' # ## Offense count: 18 #Lint/UselessAssignment: # Exclude: # - 'lib/puppet-debugger/support.rb' # - 'lib/puppet-debugger/support/environment.rb' # - 'lib/puppet-debugger/support/errors.rb' # - 'lib/puppet-debugger/support/functions.rb' # - 'lib/puppet-debugger/support/input_responders.rb' # - 'lib/puppet-debugger/support/node.rb' # - 'lib/puppet-debugger/support/play.rb' # - 'lib/puppet/application/debugger.rb' # - 'spec/support_spec.rb' # ## Offense count: 22 #Metrics/AbcSize: # Max: 150 # ## Offense count: 4 ## Configuration parameters: CountComments. #Metrics/BlockLength: # Max: 31 # ## Offense count: 3 #Metrics/BlockNesting: # Max: 6 # ## Offense count: 4 ## Configuration parameters: CountComments. #Metrics/ClassLength: # Max: 491 # ## Offense count: 12 #Metrics/CyclomaticComplexity: # Max: 59 # ## Offense count: 152 ## Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives. ## URISchemes: http, https Metrics/LineLength: Max: 586 ## Offense count: 30 ## Configuration parameters: CountComments. #Metrics/MethodLength: # Max: 100 # ## Offense count: 2 ## Configuration parameters: CountComments. #Metrics/ModuleLength: # Max: 115 # ## Offense count: 10 #Metrics/PerceivedComplexity: # Max: 46 # ## Offense count: 1 ## Cop supports --auto-correct. #Performance/RedundantMatch: # Exclude: # - 'lib/awesome_print/ext/awesome_puppet.rb' # ## Offense count: 8 #Style/AccessorMethodName: # Exclude: # - 'lib/puppet-debugger/support/compiler.rb' # - 'lib/puppet-debugger/support/environment.rb' # - 'lib/puppet-debugger/support/facts.rb' # - 'lib/puppet-debugger/support/input_responders.rb' # - 'lib/puppet-debugger/support/node.rb' # - 'lib/puppet-debugger/support/scope.rb' # ## Offense count: 2 ## Configuration parameters: EnforcedStyle, SupportedStyles. ## SupportedStyles: nested, compact #Style/ClassAndModuleChildren: # Exclude: # - 'lib/puppet/application/debugger.rb' # - 'spec/spec_helper.rb' # ## Offense count: 21 #Style/Documentation: # Exclude: # - 'spec/**/*' # - 'test/**/*' # - 'lib/awesome_print/ext/awesome_puppet.rb' # - 'lib/puppet-debugger/cli.rb' # - 'lib/puppet-debugger/code/code_file.rb' # - 'lib/puppet-debugger/support.rb' # - 'lib/puppet-debugger/support/compiler.rb' # - 'lib/puppet-debugger/support/environment.rb' # - 'lib/puppet-debugger/support/errors.rb' # - 'lib/puppet-debugger/support/facts.rb' # - 'lib/puppet-debugger/support/functions.rb' # - 'lib/puppet-debugger/support/input_responders.rb' # - 'lib/puppet-debugger/support/node.rb' # - 'lib/puppet-debugger/support/play.rb' # - 'lib/puppet-debugger/support/scope.rb' # - 'lib/puppet/application/debugger.rb' # - 'lib/trollop.rb' # ## Offense count: 2 #Style/DoubleNegation: # Exclude: # - 'lib/puppet-debugger/debugger_code.rb' # ## Offense count: 1 ## Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. #Style/FileName: # Exclude: # - 'lib/puppet-debugger.rb' # ## Offense count: 11 ## Configuration parameters: MinBodyLength. #Style/GuardClause: # Exclude: # - 'lib/puppet-debugger/cli.rb' # - 'lib/puppet-debugger/support.rb' # - 'lib/puppet-debugger/support/input_responders.rb' # - 'lib/puppet-debugger/support/play.rb' # - 'lib/trollop.rb' # - 'puppet-debugger.gemspec' # ## Offense count: 2 #Style/IdenticalConditionalBranches: # Exclude: # - 'lib/puppet-debugger/support/play.rb' # ## Offense count: 1 ## Cop supports --auto-correct. #Style/MethodCallParentheses: # Exclude: # - 'spec/support_spec.rb' # ## Offense count: 2 #Style/MethodMissing: # Exclude: # - 'lib/puppet-debugger/debugger_code.rb' # - 'lib/trollop.rb' # ## Offense count: 1 #Style/MultilineTernaryOperator: # Exclude: # - 'lib/puppet/application/debugger.rb' # ## Offense count: 2 ## Cop supports --auto-correct. ## Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles. ## SupportedStyles: predicate, comparison #Style/NumericPredicate: # Exclude: # - 'spec/**/*' # - 'lib/puppet-debugger/code/code_range.rb' # ## Offense count: 1 ## Cop supports --auto-correct. ## Configuration parameters: AllowAsExpressionSeparator. #Style/Semicolon: # Exclude: # - 'lib/puppet/application/debugger.rb' # ## Offense count: 1 ## Cop supports --auto-correct. ## Configuration parameters: AllowForAlignment. #Style/SpaceAroundOperators: # Exclude: # - 'spec/support_spec.rb'