Sha256: bd8a6de5721c1b47030df124d9ac6dbd4680f8bb12cad5e628bf9157e1ce57f6

Contents?: true

Size: 1.91 KB

Versions: 4

Compression:

Stored size: 1.91 KB

Contents

inherit_from: .rubocop_todo.yml
AllCops:
  TargetRubyVersion: 2.7

Layout/ExtraSpacing:
  Enabled: false

Layout/SpaceAroundOperators:
  Enabled: false

Metrics/AbcSize:
  Exclude:
    - 'bin/geet'                                 # Program entry point switch/case

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*_spec.rb'                        # RSpec is styled in long blocks

Metrics/ClassLength:
  Exclude:
    - 'lib/geet/git/repository.rb'

Metrics/CyclomaticComplexity:
  Exclude:
    - 'lib/geet/github/api_interface.rb'         # Switch-case (HTTP) parameter decoding
    - 'lib/geet/gitlab/api_interface.rb'         # Switch-case (HTTP) parameter decoding
    - 'bin/geet'                                 # Program entry point switch/case

Metrics/LineLength:
  Max: 120
  Exclude:
    - 'lib/geet/git/repository.rb'               # Table-style code
    - 'lib/geet/commandline/configuration.rb'    # Table-style code

Metrics/MethodLength:
  Max: 20
  Exclude:
    - 'bin/geet'                                 # Program entry point switch/case
    - 'lib/geet/commandline/configuration.rb'    # Table-style code

Metrics/ParameterLists:
  CountKeywordArgs: false

Metrics/PerceivedComplexity:
  Exclude:
    - 'lib/geet/services/create_issue.rb'        # The creation method has many parameters
    - 'lib/geet/services/create_pr.rb'           # The creation method has many parameters
    - 'bin/geet'                                 # Program entry point switch/case

Style/BlockComments:
  Enabled: false

Style/ConditionalAssignment:
  Enabled: false

Style/DoubleNegation:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/NegatedIf:
  Enabled: false

Style/Next:
  Enabled: false

Style/TrailingCommaInArguments:
  Enabled: false

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: consistent_comma
  Enabled: true

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: consistent_comma
  Enabled: true

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
geet-0.22.0 .rubocop.yml
geet-0.21.0 .rubocop.yml
geet-0.19.0 .rubocop.yml
geet-0.18.0 .rubocop.yml