Sha256: 110fd765add0fb5fbc9fca014614cb6554a12c8fdd070d463aa686d4c56539fe

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

inherit_from: .rubocop_todo.yml

require: rubocop-rspec

AllCops:
  Exclude:
    - '*.gemspec'
    - 'bin/**/*'
    - 'db/**/*'
    - 'spec/fixtures/**/*'
    - 'vendor/**/*'
  TargetRubyVersion: 2.7
  NewCops: enable

# Warn only for long lines
Layout/LineLength:
  Max: 120
  Severity: warning

# Use single-quoted strings where possible
Style/StringLiterals:
  Enabled: true
  EnforcedStyle: single_quotes

# Prevent false positives because we have fields named "subject"
RSpec/SubjectDeclaration:
  Enabled: false

RSpec/NamedSubject:
  Enabled: false

# Allow long test blocks with multiple expectations
RSpec/MultipleExpectations:
  Enabled: false

RSpec/ExampleLength:
  Enabled: false

# Warn only for complexity-related metrics
Metrics/MethodLength:
  Severity: warning

Metrics/ClassLength:
  Severity: warning

Metrics/BlockLength:
  Severity: warning

Metrics/ModuleLength:
  Severity: warning

Metrics/PerceivedComplexity:
  Severity: warning

Metrics/CyclomaticComplexity:
  Severity: warning

Metrics/AbcSize:
  Severity: warning

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mods_display-1.3.1 .rubocop.yml
mods_display-1.3.0 .rubocop.yml
mods_display-1.2.1 .rubocop.yml
mods_display-1.2.0 .rubocop.yml
mods_display-1.1.0 .rubocop.yml
mods_display-1.0.0 .rubocop.yml
mods_display-1.0.0.alpha5 .rubocop.yml