Sha256: b9aafdf8b12dac80dac0f6ecf7c722d41bdece8b304f28600d71e274e642a54a

Contents?: true

Size: 1.63 KB

Versions: 10

Compression:

Stored size: 1.63 KB

Contents

Rails:
  Enabled: true

AllCops:
  DisplayCopNames: true

  Include:
  - '**/Rakefile'

  Exclude:
  - 'db/**/*'
  - 'vendor/**/*'
  - '.internal_test_app/**/*'
  - 'lib/generators/geoblacklight/templates/**/*'

Metrics/LineLength:
  Max: 100
  Exclude:
  - 'spec/**/*'
  - 'Rakefile'
  - 'lib/generators/geoblacklight/install_generator.rb'

# TODO: Refactor large methods.
Metrics/AbcSize:
  Max: 23

Metrics/MethodLength:
  Max: 15

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

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

RSpec/FilePath:
  Enabled: false

# Rubocop bug causes view specs to fail.
#  https://github.com/nevir/rubocop-rspec/issues/47
RSpec/DescribeClass:
  Enabled: false

# geoblacklight references in solr_document_spec are
# difficult to mock because of the use of 'method_missing'.
# https://relishapp.com/rspec/rspec-mocks/docs/verifying-doubles/dynamic-classes
RSpec/AnyInstance:
  Exclude:
    - 'spec/models/concerns/geoblacklight/solr_document_spec.rb'

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

Style/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

10 entries across 10 versions & 1 rubygems

Version Path
geoblacklight-1.2.0 .rubocop.yml
geoblacklight-1.1.2 .rubocop.yml
geoblacklight-1.1.0 .rubocop.yml
geoblacklight-1.0.3 .rubocop.yml
geoblacklight-1.0.2 .rubocop.yml
geoblacklight-1.0.1 .rubocop.yml
geoblacklight-1.0.0 .rubocop.yml
geoblacklight-1.0.0.pre3 .rubocop.yml
geoblacklight-1.0.0.pre2 .rubocop.yml
geoblacklight-1.0.0.pre1 .rubocop.yml