Sha256: 04d9293d74d88f77115dad06119c74f553924895f2b604dcb96255ca2c85f052

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

require: rubocop-rspec

AllCops:
  RunRailsCops: true
  DisplayCopNames: true
  Include:
    - '**/Rakefile'
  Exclude:
    - 'vendor/**/*'
    - 'spec/internal/bin/*'
    - 'spec/internal/db/schema.rb'

Metrics/LineLength:
  Enabled: false

Metrics/CyclomaticComplexity:
  Exclude:
    - lib/hydra/works/services/add_file_to_file_set.rb

Metrics/PerceivedComplexity:
  Exclude:
    - lib/hydra/works/services/add_file_to_file_set.rb

Metrics/MethodLength:
  Exclude:
    - lib/hydra/works/services/add_file_to_file_set.rb
    - lib/hydra/works/models/concerns/file_set/virus_check.rb
    - lib/hydra/works/models/characterization/fits_datastream.rb

Metrics/ClassLength:
  Exclude:
    - lib/hydra/works/models/characterization/fits_datastream.rb

Metrics/AbcSize:
  Exclude:
    - lib/hydra/works/services/add_file_to_file_set.rb
    - lib/hydra/works/services/full_text_extraction_service.rb
    - lib/hydra/works/models/concerns/file_set/mime_types.rb
    - lib/hydra/works/models/concerns/file_set/virus_check.rb

Style/CollectionMethods:
  PreferredMethods:
    collect: 'map'
    collect!: 'map!'
    inject: 'reduce'
    detect: 'find'
    find_all: 'select'

Style/ClassAndModuleChildren:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/StringLiterals:
  Enabled: false

Style/SignalException:
  Enabled: false

Style/IndentationConsistency:
  EnforcedStyle: rails

RSpec/ExampleWording:
  CustomTransform:
    be: is
    have: has
    not: does not
    NOT: does NOT
  IgnoredWords:
    - only

RSpec/FilePath:
  Enabled: false

RSpec/InstanceVariable:
  Enabled: false

RSpec/DescribedClass:
  Exclude:
    - spec/hydra/works/models/concerns/generic_file/characterization_spec.rb

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-works-0.6.0 .rubocop.yml
hydra-works-0.5.0 .rubocop.yml
hydra-works-0.4.0 .rubocop.yml
hydra-works-0.3.0 .rubocop.yml