Sha256: 8762ea7e80f8529d331b5eba91d092b8eef695aa4fddd5997fb1bec6d6b264d7

Contents?: true

Size: 699 Bytes

Versions: 6

Compression:

Stored size: 699 Bytes

Contents

# metric cop settings

Metrics/BlockLength:
  Exclude:
    # Common files with e.g. block based DSLs
    - "spec/**/*"
    - "**/*.rake"
    - "Rakefile"
    - "Guardfile"
    - "**/*/Rakefile"
    - 'dachsfisch.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

6 entries across 6 versions & 1 rubygems

Version Path
dachsfisch-1.0.2 .rubocop/metrics.yml
dachsfisch-1.0.1 .rubocop/metrics.yml
dachsfisch-1.0.0 .rubocop/metrics.yml
dachsfisch-0.2.0 .rubocop/metrics.yml
dachsfisch-0.1.1 .rubocop/metrics.yml
dachsfisch-0.1.0 .rubocop/metrics.yml