# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-11-29 04:19:34 UTC using RuboCop version 1.81.7.
# 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: 4
# This cop supports safe autocorrection (--autocorrect).
Layout/ClosingHeredocIndentation:
  Exclude:
    - "lib/capistrano/configuration/scm_resolver.rb"
    - "lib/capistrano/immutable_task.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowBorderComment, AllowMarginComment.
Layout/EmptyComment:
  Exclude:
    - "features/step_definitions/assertions.rb"

# Offense count: 18
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterGuardClause:
  Exclude:
    - "features/support/remote_ssh_helpers.rb"
    - "lib/capistrano/configuration/filter.rb"
    - "lib/capistrano/configuration/scm_resolver.rb"
    - "lib/capistrano/configuration/validated_variables.rb"
    - "lib/capistrano/configuration/variables.rb"
    - "lib/capistrano/doctor/gems_doctor.rb"
    - "lib/capistrano/doctor/output_helpers.rb"
    - "lib/capistrano/doctor/servers_doctor.rb"
    - "lib/capistrano/dsl/task_enhancements.rb"
    - "lib/capistrano/tasks/deploy.rake"
    - "lib/capistrano/version_validator.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
  Exclude:
    - "lib/capistrano/configuration.rb"

# Offense count: 2
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
  Exclude:
    - "spec/lib/capistrano/plugin_spec.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/ElseLayout:
  Exclude:
    - "lib/capistrano/configuration/filter.rb"

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/InterpolationCheck:
  Exclude:
    - "spec/lib/capistrano/dsl/paths_spec.rb"
    - "spec/spec_helper.rb"

# Offense count: 1
# Configuration parameters: AllowedParentClasses.
Lint/MissingSuper:
  Exclude:
    - "lib/capistrano/configuration/validated_variables.rb"

# Offense count: 1
Lint/MixedRegexpCaptureTypes:
  Exclude:
    - "lib/capistrano/configuration/host_filter.rb"

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonDeterministicRequireOrder:
  Exclude:
    - "spec/spec_helper.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/ScriptPermission:
  Exclude:
    - "lib/Capfile"

# Offense count: 5
# 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/capistrano/application.rb"
    - "lib/capistrano/dsl/task_enhancements.rb"
    - "lib/capistrano/proc_helpers.rb"
    - "spec/support/test_app.rb"

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
  Exclude:
    - "lib/capistrano/doctor/output_helpers.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Keywords, RequireColon.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
  Exclude:
    - "lib/capistrano/scm/git.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyLambdaParameter:
  Exclude:
    - "lib/capistrano/dsl/paths.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/Encoding:
  Exclude:
    - "capistrano.gemspec"

# Offense count: 17
# This cop supports safe autocorrection (--autocorrect).
Style/ExpandPathArguments:
  Exclude:
    - "capistrano.gemspec"
    - "lib/capistrano/configuration/variables.rb"
    - "lib/capistrano/console.rb"
    - "lib/capistrano/deploy.rb"
    - "lib/capistrano/doctor.rb"
    - "lib/capistrano/framework.rb"
    - "lib/capistrano/scm/git.rb"
    - "lib/capistrano/scm/hg.rb"
    - "lib/capistrano/scm/svn.rb"
    - "lib/capistrano/tasks/install.rake"
    - "spec/lib/capistrano/doctor/environment_doctor_spec.rb"
    - "spec/lib/capistrano/doctor/gems_doctor_spec.rb"
    - "spec/lib/capistrano/doctor/servers_doctor_spec.rb"
    - "spec/lib/capistrano/doctor/variables_doctor_spec.rb"
    - "spec/lib/capistrano/plugin_spec.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/ExplicitBlockArgument:
  Exclude:
    - "lib/capistrano/configuration/servers.rb"

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
  Exclude:
    - "spec/spec_helper.rb"

# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces
Style/HashAsLastArrayItem:
  Exclude:
    - "spec/lib/capistrano/configuration/servers_spec.rb"

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowedReceivers.
# AllowedReceivers: Thread.current
Style/HashEachMethods:
  Exclude:
    - "lib/capistrano/configuration/servers.rb"
    - "lib/capistrano/tasks/deploy.rake"

# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
  Exclude:
    - "lib/capistrano/configuration.rb"
    - "lib/capistrano/configuration/scm_resolver.rb"
    - "lib/capistrano/i18n.rb"
    - "lib/capistrano/tasks/deploy.rake"

# Offense count: 4
Style/MixinUsage:
  Exclude:
    - "lib/Capfile"
    - "lib/capistrano/dsl.rb"
    - "lib/capistrano/setup.rb"
    - "spec/integration_spec_helper.rb"

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantBegin:
  Exclude:
    - "spec/lib/capistrano/application_spec.rb"
    - "spec/spec_helper.rb"

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SafeForConstants.
Style/RedundantFetchBlock:
  Exclude:
    - "spec/integration/dsl_spec.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantParentheses:
  Exclude:
    - "lib/capistrano/configuration/validated_variables.rb"

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantRegexpEscape:
  Exclude:
    - "lib/capistrano/defaults.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
  Exclude:
    - "lib/capistrano/configuration/question.rb"

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
  Exclude:
    - "features/support/remote_command_helpers.rb"
    - "lib/capistrano/tasks/console.rake"

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
  Exclude:
    - "lib/capistrano/configuration.rb"
    - "lib/capistrano/doctor/variables_doctor.rb"
    - "lib/capistrano/dsl.rb"

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
  Exclude:
    - "spec/support/test_app.rb"

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/WhileUntilModifier:
  Exclude:
    - "lib/capistrano/configuration/variables.rb"
