Sha256: ccfb24fc628333cef73cc60938415c34a7a90b87253d0311ace9cc453621d001

Contents?: true

Size: 1.6 KB

Versions: 4

Compression:

Stored size: 1.6 KB

Contents

require:
  - ruby-next/rubocop

AllCops:
  NewCops: enable
  TargetRubyVersion: 2.5
  Exclude:
    - 'lib/.rbnext/**/*'

Style/Documentation:
  Enabled: false

Layout/SpaceBeforeFirstArg:
  Exclude:

Lint/AmbiguousBlockAssociation:
  Exclude:
    - spec/**/*

Metrics/AbcSize:
  # The ABC size is a calculated magnitude, so this number can be an Integer or
  # a Float.
  Max: 15

Metrics/BlockLength:
  CountComments: false
  Max: 25
  Exclude:
    - '*.gemspec'
    - config/**/*
    - spec/**/*
  ExcludedMethods:
    - class_methods

Metrics/BlockNesting:
  Max: 4

Metrics/ClassLength:
  CountComments: false
  Max: 200

# Avoid complex methods.
Metrics/CyclomaticComplexity:
  Max: 7

Metrics/MethodLength:
  CountComments: false
  Max: 24

Metrics/ModuleLength:
  CountComments: false
  Max: 200

Layout/LineLength:
  Max: 100
  # To make it possible to copy or click on URIs in the code, we allow lines
  # containing a URI to be longer than Max.
  AllowURI: true
  URISchemes:
    - http
    - https

Metrics/ParameterLists:
  Max: 5
  CountKeywordArgs: true

Metrics/PerceivedComplexity:
  Max: 12

Style/FrozenStringLiteralComment:
  Enabled: true

Style/ModuleFunction:
  Enabled: false

Style/RescueModifier:
  Exclude:
    - spec/**/*

Naming/PredicateName:
  Enabled: false

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Style/RedundantSelf:
  Enabled: false

Naming/VariableName:
  Enabled: false

Lint/UselessAssignment:
  Enabled: false

Metrics/AbcSize:
  Exclude:
    - test/**/*

Metrics/MethodLength:
  Max: 20
  Exclude:
    - test/**/*

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
structurizr-1.29.0-java .rubocop.yml
structurizr-1.26.1-java .rubocop.yml
structurizr-1.0.0.rc.2 .rubocop.yml
structurizr-1.0.0.rc.1 .rubocop.yml