Sha256: 52ce2ff23d312cb208127de55d6549446a09ee2f072a237fa93fbc8309c03cce

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

inherit_from: .rubocop_todo.yml

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

# Allow global Transproc method definition
Style/MethodName:
  Exclude:
    - lib/transproc.rb

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

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

# 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/BlockDelimiters:
  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

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transproc-0.2.1 .rubocop.yml