Sha256: fa3534beef64b3d1e9cf1dbf3efb7d57337e42fac20d7f7195e41af52755965c

Contents?: true

Size: 1.04 KB

Versions: 19

Compression:

Stored size: 1.04 KB

Contents

# A calculated magnitude based on number of assignments,
# branches, and conditions.
Metrics/AbcSize:
  Enabled: true
  Max: 54.28

# This cop checks if the length of a block exceeds some maximum value.
Metrics/BlockLength:
  Enabled: false

# Avoid excessive block nesting.
Metrics/BlockNesting:
  Enabled: true
  Max: 4

# Avoid classes longer than 100 lines of code.
Metrics/ClassLength:
  Enabled: false

# A complexity metric that is strongly correlated to the number
# of test cases needed to validate a method.
Metrics/CyclomaticComplexity:
  Enabled: true
  Max: 13

# Limit lines to 80 characters.
Metrics/LineLength:
  Enabled: false

# Avoid methods longer than 10 lines of code.
Metrics/MethodLength:
  Enabled: false

# Avoid modules longer than 100 lines of code.
Metrics/ModuleLength:
  Enabled: false

# Avoid parameter lists longer than three or four parameters.
Metrics/ParameterLists:
  Enabled: true
  Max: 8

# A complexity metric geared towards measuring complexity for a human reader.
Metrics/PerceivedComplexity:
  Enabled: true
  Max: 14

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
gitlab-styles-3.2.0 rubocop-metrics.yml
gitlab-styles-3.1.0 rubocop-metrics.yml
gitlab-styles-3.0.0 rubocop-metrics.yml
gitlab-styles-2.8.0 rubocop-metrics.yml
pdf_extractor-0.1.1 .rubocop/rubocop-metrics.yml
gitlab-styles-2.7.0 rubocop-metrics.yml
gitlab-styles-2.6.2 rubocop-metrics.yml
gitlab-styles-2.6.1 rubocop-metrics.yml
gitlab-styles-2.6.0 rubocop-metrics.yml
gitlab-styles-2.5.2 rubocop-metrics.yml
gitlab-styles-2.5.1 rubocop-metrics.yml
gitlab-styles-2.5.0 rubocop-metrics.yml
gitlab-styles-2.4.1 rubocop-metrics.yml
gitlab-styles-2.4.0 rubocop-metrics.yml
gitlab-styles-2.3.2 rubocop-metrics.yml
gitlab-styles-2.3.1 rubocop-metrics.yml
gitlab-styles-2.3.0 rubocop-metrics.yml
gitlab-styles-2.2.0 rubocop-metrics.yml
gitlab-styles-2.1.0 rubocop-metrics.yml