Sha256: 0111ca980aad14d6117df22f5f114ecc06a9828abe6704d306c75f46ec7be570

Contents?: true

Size: 997 Bytes

Versions: 24

Compression:

Stored size: 997 Bytes

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

# 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

24 entries across 24 versions & 1 rubygems

Version Path
gitlab-styles-13.0.1 rubocop-metrics.yml
gitlab-styles-13.0.0 rubocop-metrics.yml
gitlab-styles-11.0.0 rubocop-metrics.yml
gitlab-styles-10.1.0 rubocop-metrics.yml
gitlab-styles-10.0.0 rubocop-metrics.yml
gitlab-styles-9.2.0 rubocop-metrics.yml
gitlab-styles-9.1.0 rubocop-metrics.yml
gitlab-styles-9.0.0 rubocop-metrics.yml
gitlab-styles-8.0.0 rubocop-metrics.yml
gitlab-styles-7.1.0 rubocop-metrics.yml
gitlab-styles-7.0.0 rubocop-metrics.yml
gitlab-styles-6.6.0 rubocop-metrics.yml
gitlab-styles-6.5.0 rubocop-metrics.yml
gitlab-styles-6.4.0 rubocop-metrics.yml
gitlab-styles-6.3.0 rubocop-metrics.yml
gitlab-styles-6.2.1 rubocop-metrics.yml
gitlab-styles-6.2.0 rubocop-metrics.yml
gitlab-styles-6.1.0 rubocop-metrics.yml
gitlab-styles-6.0.0 rubocop-metrics.yml
gitlab-styles-5.4.0 rubocop-metrics.yml