# This configuration was generated by
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
# using RuboCop version 1.75.8.
# 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 safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment.
Layout/CommentIndentation:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommands/help.rb'

# Offense count: 1
Lint/DuplicateMethods:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommand.rb'

# Offense count: 5
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/encrypted_tokens.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedImplicitNamespaces.
# AllowedImplicitNamespaces: Gem
Lint/RaiseException:
  Exclude:
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
Lint/RescueException:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommand.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AutoCorrect.
Lint/UselessMethodDefinition:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/token.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
Lint/Void:
  Exclude:
    - 'features/support/env.rb'

# Offense count: 1
Naming/AccessorMethodName:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/encrypted_tokens.rb'

# Offense count: 1
# Configuration parameters: AllowedNames.
# AllowedNames: module_parent
Naming/ClassAndModuleCamelCase:
  Exclude:
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
  Exclude:
    - 'Rakefile.rb'
    - 'lib/hiera/backend/eyaml/CLI.rb'

# Offense count: 3
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'
    - 'lib/hiera/backend/eyaml/subcommands/help.rb'
    - 'lib/hiera/backend/eyaml/subcommands/unknown_command.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyle, AllowedPatterns, ForbiddenIdentifiers, ForbiddenPatterns.
# SupportedStyles: snake_case, camelCase
# ForbiddenIdentifiers: __id__, __send__
Naming/MethodName:
  Exclude:
    - 'lib/hiera/backend/eyaml/encryptors/pkcs7.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:
    - 'lib/hiera/backend/eyaml/parser/parser.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
  Exclude:
    - 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/Detect:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'

# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/MapCompact:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'
    - 'lib/hiera/backend/eyaml/subcommands/decrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/encrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/help.rb'
    - 'lib/hiera/backend/eyaml/subcommands/unknown_command.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
  Exclude:
    - 'lib/hiera/backend/eyaml/logginghelper.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/StringInclude:
  Exclude:
    - 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 1
Security/Open:
  Exclude:
    - 'lib/hiera/backend/eyaml/encrypthelper.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Security/YAMLLoad:
  Exclude:
    - 'features/step_definitions/decrypt_steps.rb'
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 8
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, conditionals
Style/AndOr:
  Exclude:
    - 'lib/hiera/backend/eyaml/encryptors/pkcs7.rb'
    - 'lib/hiera/backend/eyaml/logginghelper.rb'
    - 'lib/hiera/backend/eyaml/subcommand.rb'
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MinBranchesCount.
Style/CaseLikeIf:
  Exclude:
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 18
Style/ClassVars:
  Exclude:
    - 'lib/hiera/backend/eyaml.rb'
    - 'lib/hiera/backend/eyaml/commands.rb'
    - 'lib/hiera/backend/eyaml/options.rb'
    - 'lib/hiera/backend/eyaml/parser/encrypted_tokens.rb'
    - 'lib/hiera/backend/eyaml/plugins.rb'
    - 'lib/hiera/backend/eyaml/subcommand.rb'
    - 'lib/hiera/backend/eyaml/subcommands/unknown_command.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedReceivers.
Style/CollectionCompact:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/parser.rb'

# Offense count: 35
# Configuration parameters: AllowedConstants.
Style/Documentation:
  Enabled: false

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/EnvHome:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'
    - 'lib/hiera/backend/eyaml/subcommand.rb'

# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
  EnforcedStyle: unannotated

# Offense count: 36
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
  Enabled: false

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
  Exclude:
    - 'lib/hiera/backend/eyaml/logginghelper.rb'
    - 'lib/hiera/backend/eyaml/subcommands/decrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/encrypt.rb'

# Offense count: 6
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/IdenticalConditionalBranches:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommand.rb'
    - 'lib/hiera/backend/eyaml/subcommands/decrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapIntoArray:
  Exclude:
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
Style/MultilineBlockChain:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/parser.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: literals, strict
Style/MutableConstant:
  Exclude:
    - 'lib/hiera/backend/eyaml.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  Exclude:
    - 'spec/**/*'
    - 'lib/hiera/backend/eyaml/logginghelper.rb'
    - 'lib/hiera/backend/eyaml/parser/parser.rb'
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'
    - 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: short, verbose
Style/PreferredHashMethods:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommand.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Methods.
Style/RedundantArgument:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/RedundantFilterChain:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AutoCorrect, AllowComments.
Style/RedundantInitialize:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/token.rb'

# Offense count: 6
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/RedundantInterpolation:
  Exclude:
    - 'features/support/env.rb'
    - 'lib/hiera/backend/eyaml/encrypthelper.rb'
    - 'lib/hiera/backend/eyaml/subcommand.rb'
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'
    - 'lib/hiera/backend/eyaml/subcommands/recrypt.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantSelf:
  Exclude:
    - 'lib/hiera/backend/eyaml/logginghelper.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
  Exclude:
    - 'lib/hiera/backend/eyaml/subcommand.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SelectByRegexp:
  Exclude:
    - 'hiera-eyaml.gemspec'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SlicingWithRange:
  Exclude:
    - 'lib/hiera/backend/eyaml/edithelper.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: RequireEnglish, EnforcedStyle.
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
Style/SpecialGlobalVars:
  Exclude:
    - 'hiera-eyaml.gemspec'
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/StderrPuts:
  Exclude:
    - 'lib/hiera/backend/eyaml/logginghelper.rb'

# Offense count: 11
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
  Exclude:
    - 'features/support/env.rb'
    - 'lib/hiera/backend/eyaml/edithelper.rb'
    - 'lib/hiera/backend/eyaml/parser/encrypted_tokens.rb'
    - 'lib/hiera/backend/eyaml/subcommand.rb'
    - 'lib/hiera/backend/eyaml/subcommands/decrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/help.rb'
    - 'lib/hiera/backend/eyaml/subcommands/unknown_command.rb'
    - 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 9
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
# AllowedMethods: define_method
Style/SymbolProc:
  Exclude:
    - 'features/step_definitions/recrypt_steps.rb'
    - 'lib/hiera/backend/eyaml/parser/parser.rb'
    - 'lib/hiera/backend/eyaml/subcommands/decrypt.rb'
    - 'lib/hiera/backend/eyaml/subcommands/edit.rb'
    - 'lib/hiera/backend/eyaml/subcommands/encrypt.rb'
    - 'lib/hiera/backend/eyaml/utils.rb'
    - 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/ZeroLengthPredicate:
  Exclude:
    - 'lib/hiera/backend/eyaml/parser/parser.rb'

# Offense count: 13
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
# URISchemes: http, https
Layout/LineLength:
  Max: 194
