# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-08-26 13:50:06 UTC using RuboCop version 1.30.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: 12
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
  Max: 49

# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
  Max: 249

# Offense count: 12
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
  Max: 42

# Offense count: 8
Minitest/MultipleAssertions:
  Max: 7

# Offense count: 2
Naming/AccessorMethodName:
  Exclude:
    - 'lib/oauth/tty/commands/authorize_command.rb'

# Offense count: 2
# Configuration parameters: ForbiddenDelimiters.
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
Naming/HeredocDelimiterNaming:
  Exclude:
    - 'lib/oauth/tty/commands/help_command.rb'
    - 'lib/oauth/tty/commands/sign_command.rb'

# Offense count: 1
Security/Open:
  Exclude:
    - 'lib/oauth/tty/command.rb'

# Offense count: 9
# Configuration parameters: AllowedConstants.
Style/Documentation:
  Exclude:
    - '**/*.md'
    - '**/*.markdown'
    - 'lib/oauth/tty/cli.rb'
    - 'lib/oauth/tty/command.rb'
    - 'lib/oauth/tty/commands/authorize_command.rb'
    - 'lib/oauth/tty/commands/help_command.rb'
    - 'lib/oauth/tty/commands/query_command.rb'
    - 'lib/oauth/tty/commands/sign_command.rb'
    - 'lib/oauth/tty/commands/version_command.rb'
    - 'test/backwards_compatibility_test.rb'
    - 'test/cli_test.rb'

# Offense count: 1
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
  Exclude:
    - 'lib/oauth/tty/commands/sign_command.rb'
