Sha256: a6933e6bbea61b57ed19ce1166346cb012812ed950ea995d7d7fb61272de985a

Contents?: true

Size: 1.8 KB

Versions: 3

Compression:

Stored size: 1.8 KB

Contents

require: rubocop-rspec
require: rubocop-rails

Rails:
  Enabled: true

AllCops:
  DisplayCopNames: true

  Exclude:
  - 'db/**/*'
  - '.internal_test_app/**/*'
  - 'lib/generators/geoblacklight/templates/**/*'
  - 'geoblacklight_sidecar_images.gemspec'
  - 'lib/generators/geoblacklight_sidecar_images/install_generator.rb'
  - 'lib/tasks/geoblacklight_sidecar_images_tasks.rake'
  - 'template.rb'
  - Gemfile

Lint/RescueException:
  Exclude:
  - 'app/services/geoblacklight_sidecar_images/image_service.rb'

Metrics/BlockLength:
  Exclude:
  - 'spec/**/*'

Metrics/LineLength:
  Max: 100
  Exclude:
  - 'spec/**/*'
  - 'Rakefile'
  - 'app/services/geoblacklight_sidecar_images/image_service.rb'

# TODO: Refactor large methods.
Metrics/ClassLength:
  Exclude:
  - 'app/services/geoblacklight_sidecar_images/image_service.rb'

Metrics/AbcSize:
  Max: 28

Metrics/MethodLength:
  Max: 16
  Exclude:
  - 'spec/**/*'
  - 'Rakefile'
  - 'app/services/geoblacklight_sidecar_images/image_service.rb'

# TODO: Add top-level class and module documentation.
Style/Documentation:
  Enabled: false

Style/MutableConstant:
  Enabled: false

# Overrides method in blacklight. Must use method name.
Naming/PredicateName:
  Exclude:
    - 'lib/geoblacklight/view_helper_override.rb'

RSpec/FilePath:
  Enabled: false

Style/SignalException:
  EnforcedStyle: semantic

Style/StringLiterals:
  Description: Checks if uses of quotes match the configured preference.
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
  Enabled: true
  EnforcedStyle: single_quotes

Layout/DotPosition:
  Description: Checks the position of the dot in multi-line method calls.
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
  Enabled: true
  EnforcedStyle: leading
  SupportedStyles:
  - leading
  - trailing

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geoblacklight_sidecar_images-0.8.1 .rubocop.yml
geoblacklight_sidecar_images-0.8.0 .rubocop.yml
geoblacklight_sidecar_images-0.7.0 .rubocop.yml