Sha256: 81ef7f02a8422e4fd796d1dde64bb29a12f0b45e14798e523573ee328fa4bb50

Contents?: true

Size: 1.69 KB

Versions: 31

Compression:

Stored size: 1.69 KB

Contents

# Generated by `rubocop --auto-gen-config`
inherit_from: .rubocop_todo.yml

# Exclude temporary files
AllCops:
  Exclude:
    - tmp/**/*
    - vendor/**/*

Style/BlockDelimiters:
  EnforcedStyle: semantic
  FunctionalMethods:
    - let
    - let!
    - subject
    - watch
    - before

# No need to handle LoadError in Rakefile
Lint/HandleExceptions:
  Exclude:
    - rakelib/*.rake
    - spec/spec_helper.rb
    - benchmarks/setup.rb

# gemspec is a special snowflake
Metrics/LineLength:
  Exclude:
    - rom.gemspec

# The enforced style doesn’t match Vim’s defaults
Style/AlignParameters:
  Enabled: false

# UTF-8 is perfectly fine in comments
Style/AsciiComments:
  Enabled: false

# Documentation checked by Inch CI
Style/Documentation:
  Enabled: false

# Early returns have their vices
Style/GuardClause:
  Enabled: false

# Need to be skipped for >-> usage
Style/Lambda:
  Enabled: false

# Multiline block chains are ok
Style/MultilineBlockChain:
  Enabled: false

# Multiline operation chains are indented
Style/MultilineOperationIndentation:
  EnforcedStyle: indented

# Result::Success and Result::Failure use > for callbacks
Style/OpMethod:
  Exclude:
    - lib/rom/command_registry.rb

# Don’t introduce semantic fail/raise distinction
Style/SignalException:
  EnforcedStyle: only_raise

# Need to be skipped for >-> usage
Style/SpaceAroundOperators:
  Enabled: false

# Accept both single and double quotes
Style/StringLiterals:
  Enabled: false

# Allow def self.foo; @foo; end
Style/TrivialAccessors:
  Enabled: false

# Allow compact style for specs
Style/ClassAndModuleChildren:
  Exclude:
    - spec/**/*_spec.rb

# Allow logical `or`/`and` in conditionals
Style/AndOr:
  EnforcedStyle: conditionals

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rom-3.3.3 .rubocop.yml
rom-3.3.2 .rubocop.yml
rom-3.3.1 .rubocop.yml
rom-3.3.0 .rubocop.yml
rom-3.2.3 .rubocop.yml
rom-3.2.2 .rubocop.yml
rom-3.2.1 .rubocop.yml
rom-3.2.0 .rubocop.yml
rom-3.1.0 .rubocop.yml
rom-3.0.3 .rubocop.yml
rom-3.0.2 .rubocop.yml
rom-3.0.1 .rubocop.yml
rom-3.0.0 .rubocop.yml
rom-3.0.0.rc2 .rubocop.yml
rom-3.0.0.rc1 .rubocop.yml
rom-3.0.0.beta3 .rubocop.yml
rom-3.0.0.beta2 .rubocop.yml
rom-3.0.0.beta1 .rubocop.yml
rom-2.0.2 .rubocop.yml
rom-2.0.1 .rubocop.yml