Sha256: a86741782918fd1142aecb49097f65c53430e6ec52e3d2f20ed2bbdafb7c95d1

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

# FIXME: Lower by refactoring biggest offenders
Metrics/AbcSize:
  Max: 27

# FIXME: Lower by refactoring biggest offenders
Metrics/MethodLength:
  Max: 29

# FIXME: Lower by refactoring biggest offenders
Metrics/PerceivedComplexity:
  Max: 8

# It’s quite readable when we know what we are doing
Lint/AssignmentInCondition:
  Enabled: false

Lint/HandleExceptions:
  Exclude:
    - Rakefile

Metrics/ClassLength:
  Max: 120

# gemspec is a special snowflake
Metrics/LineLength:
  Max: 84
  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

# Allow using braces for value-returning blocks
Style/Blocks:
  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

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

# Even a single escaped slash can be confusing
Style/RegexpLiteral:
  MaxSlashes: 0

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-0.5.0 .rubocop.yml