Sha256: 654b1fa384769ec660b01ce0539210e09345449f58049e8a6b62165f08b9ef4b

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

# This is the configuration used to check the rubocop source code.

inherit_from: .rubocop_todo.yml
require:
  - rubocop-rspec

Layout/LineLength:
  Max: 114
  Exclude:
    - lib/cocina/models/*

Metrics/BlockLength:
  Exclude:
    - cocina-models.gemspec
    - spec/cocina/**/*

Metrics/MethodLength:
  Max: 14

RSpec/MultipleExpectations:
  Enabled: false

RSpec/ExampleLength:
  Max: 18
  Exclude:
    - spec/cocina/models/description_spec.rb
    - spec/cocina/models/dro_shared_examples.rb

Style/Documentation:
  Exclude:
    - lib/cocina/models/*

Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: true

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Lint/DeprecatedOpenSSLConstant:
  Enabled: true

Lint/MixedRegexpCaptureTypes:
  Enabled: true

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Style/AccessorGrouping:
  Enabled: true

Style/BisectedAttrAccessor:
  Enabled: true

Style/ExponentialNotation:
  Enabled: true

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Style/RedundantAssignment:
  Enabled: true

Style/RedundantFetchBlock:
  Enabled: true

Style/RedundantRegexpCharacterClass:
  Enabled: true

Style/RedundantRegexpEscape:
  Enabled: true

Style/SlicingWithRange:
  Enabled: true
  

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocina-models-0.35.0 .rubocop.yml
cocina-models-0.34.1 .rubocop.yml
cocina-models-0.34.0 .rubocop.yml