Sha256: 47adff617386b6a0bc1d8e2e1b5eb45b4203c9ee80f59a171ba0f837037d4c43

Contents?: true

Size: 700 Bytes

Versions: 9

Compression:

Stored size: 700 Bytes

Contents

# metric cop settings

Metrics/BlockLength:
  Exclude:
    # Common files with e.g. block based DSLs
    - "spec/**/*"
    - "**/*.rake"
    - "Rakefile"
    - "Guardfile"
    - "**/*/Rakefile"
    - 'proformaxml.gemspec'
  Max: 50

Metrics/ClassLength:
  Max: 150

#
# Often used as a proxy for complexity in a method, but causes many false
# positives, e.g. when generating large, but simple, hashes.
# We want to rely on CyclomaticComplexity instead.
#
Metrics/MethodLength:
  Enabled: true
  Max: 20

#
# This seems to be the cop that is closest to what we're interested in, which
# is the kind of complexity that usually surfaces in deep nesting.
#
Metrics/CyclomaticComplexity:
  Enabled: true

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
proformaxml-1.5.2 .rubocop/metrics.yml
proformaxml-1.5.1 .rubocop/metrics.yml
proformaxml-1.5.0 .rubocop/metrics.yml
proformaxml-1.4.0 .rubocop/metrics.yml
proformaxml-1.3.0 .rubocop/metrics.yml
proformaxml-1.2.0 .rubocop/metrics.yml
proformaxml-1.1.0 .rubocop/metrics.yml
proformaxml-1.0.0 .rubocop/metrics.yml
proformaxml-0.10.0 .rubocop/metrics.yml