# This configuration was generated by # `rubocop --auto-gen-config` # on 2024-01-08 10:34:35 UTC using RuboCop version 1.59.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. # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' # Offense count: 6 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: Exclude: - 'spec/fixtures/modules/foo/lib/puppet/parser/functions/bar.rb' - 'spec/fixtures/modules/foo/lib/puppet/parser/functions/baz.rb' - 'spec/fixtures/modules/foo/lib/puppet/parser/functions/foo.rb' - 'spec/fixtures/modules/foo/lib/puppet/parser/functions/quux.rb' - 'spec/fixtures/modules/foo/lib/puppet/type/bar.rb' - 'spec/fixtures/modules/foo/lib/puppet/type/foo.rb' # Offense count: 12 Lint/NonLocalExitFromIterator: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_classes.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_defines.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' # Offense count: 1 # Configuration parameters: AllowKeywordBlockArguments. Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' # Offense count: 1 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'spec/spec_helper.rb' # Offense count: 8 # Configuration parameters: IgnoredMetadata. RSpec/DescribeClass: Exclude: - '**/spec/features/**/*' - '**/spec/requests/**/*' - '**/spec/routing/**/*' - '**/spec/system/**/*' - '**/spec/views/**/*' - 'spec/puppet-lint/plugins/ghostbuster_classes_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_defines_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_facts_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_files_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_functions_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_hiera_files_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_templates_spec.rb' - 'spec/puppet-lint/plugins/ghostbuster_types_spec.rb' # Offense count: 2 RSpec/RepeatedDescription: Exclude: - 'spec/puppet-lint/plugins/ghostbuster_facts_spec.rb' # Offense count: 9 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_classes.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_defines.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_facts.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_types.rb' - 'spec/spec_helper.rb' # Offense count: 5 Style/ClassVars: Exclude: - 'lib/puppet-ghostbuster/puppetdb.rb' - 'lib/puppet-ghostbuster/util.rb' # Offense count: 9 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/puppet-ghostbuster/puppetdb.rb' - 'lib/puppet-ghostbuster/util.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_classes.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_defines.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_facts.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_types.rb' # Offense count: 11 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: - 'lib/puppet-ghostbuster/puppetdb.rb' - 'lib/puppet-ghostbuster/util.rb' - 'lib/puppet-ghostbuster/version.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_classes.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_defines.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_facts.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_types.rb' - 'spec/spec_helper.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/puppet-ghostbuster/version.rb' # Offense count: 15 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/puppet-lint/plugins/check_ghostbuster_facts.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' # Offense count: 15 # This cop supports unsafe autocorrection (--autocorrect-all). Style/ZeroLengthPredicate: Exclude: - 'lib/puppet-lint/plugins/check_ghostbuster_facts.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_functions.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_hiera_files.rb' - 'lib/puppet-lint/plugins/check_ghostbuster_templates.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 195