Sha256: f14508c5e46a0d67d783e5fd7738bbaa066e1b6154dbb129e9c9e88ba8cbc406

Contents?: true

Size: 1.15 KB

Versions: 18

Compression:

Stored size: 1.15 KB

Contents

require: rubocop-rspec

inherit_from:
  - .rubocop_todo.yml

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.3
  Exclude:
  - "lib/generators/blacklight/templates/**/*"
  - "blacklight.gemspec"

# engine_cart block includes conditional, not duplication
Bundler/DuplicatedGem:
  Exclude:
  - 'Gemfile'

# engine_cart block is following default Rails order
Bundler/OrderedGems:
  Exclude:
  - 'Gemfile'

Layout/IndentationConsistency:
  EnforcedStyle: normal

Metrics/BlockLength:
  Exclude:
    - "app/views/catalog/index.json.jbuilder"
    - "lib/railties/blacklight.rake"
    - "tasks/blacklight.rake"
    - "spec/**/*"

Metrics/ClassLength:
  Exclude:
    - "lib/blacklight/configuration.rb"

Metrics/LineLength:
  Max: 200
  Exclude:
    - 'spec/**/*'

Naming/HeredocDelimiterNaming:
  Enabled: false

Naming/PredicateName:
  NamePrefixBlacklist:
    - is_

Rails:
  Enabled: true

Rails/OutputSafety:
  Enabled: false

# https://github.com/rubocop-hq/rubocop/issues/6439
Style/AccessModifierDeclarations:
  Enabled: false

Style/MissingRespondToMissing:
  Exclude:
  - 'lib/blacklight/nested_open_struct_with_hash_access.rb'

Style/StringLiterals:
  Enabled: false

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight-7.10.0 .rubocop.yml
blacklight-7.9.0 .rubocop.yml
blacklight-7.8.1 .rubocop.yml
blacklight-7.8.0 .rubocop.yml
blacklight-7.7.0 .rubocop.yml
blacklight-7.6.0 .rubocop.yml
blacklight-7.5.1 .rubocop.yml
blacklight-7.5.0 .rubocop.yml
blacklight-7.4.2 .rubocop.yml
blacklight-7.4.1 .rubocop.yml
blacklight-7.4.0 .rubocop.yml
blacklight-7.3.0 .rubocop.yml
blacklight-7.2.0 .rubocop.yml
blacklight-7.1.0 .rubocop.yml
blacklight-7.1.0.alpha .rubocop.yml
blacklight-7.0.1 .rubocop.yml
blacklight-7.0.0 .rubocop.yml
blacklight-7.0.0.rc2 .rubocop.yml