Sha256: 121623dad68e11683b670b18ea91125deb2087a6c5bd1589a7dcfe81c19dfbe4

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

require: rubocop-rspec

inherit_from:
  - .rubocop_todo.yml

AllCops:
  Exclude:
    - bin/*
    - poms.gemspec
    - vendor/**/*
  NewCops: enable
  TargetRubyVersion: 3.2.0

Style/Documentation:
  Exclude:
    - 'lib/poms/has_ancestors.rb'
    - spec/**/*_spec.rb

Style/BlockDelimiters:
  Exclude:
    - 'spec/**/*.rb'

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

Style/AndOr:
  Exclude:
    - 'lib/poms.rb' # here we do rely on how `or` has lower precedence than `||`
    - 'lib/poms/configuration.rb' # here we do rely on how `or` has lower precedence than `||`

Style/FrozenStringLiteralComment:
  Enabled: false

Style/ModuleFunction:
  Enabled: false

ModuleLength:
  Exclude:
    - spec/**/*_spec.rb # specs are only in module for easier access to functions

RSpec/ExampleLength:
  Max: 15

Layout/ParameterAlignment:
  EnforcedStyle: with_fixed_indentation

Layout/FirstParameterIndentation:
  EnforcedStyle: consistent

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/MultilineOperationIndentation:
  EnforcedStyle: indented

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
poms-3.0.0 .rubocop.yml