Sha256: 52904a17e5429ea46a2b0892cd5b724f9027251411bf0bd16c91295dbc5666cd

Contents?: true

Size: 1.32 KB

Versions: 13

Compression:

Stored size: 1.32 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:
  EnforcedStyle: percent_r

# 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

13 entries across 13 versions & 1 rubygems

Version Path
transproc-1.0.3 .rubocop.yml
transproc-1.0.2 .rubocop.yml
transproc-1.0.1 .rubocop.yml
transproc-1.0.0 .rubocop.yml
transproc-0.4.2 .rubocop.yml
transproc-0.4.1 .rubocop.yml
transproc-0.4.0 .rubocop.yml
transproc-0.3.2 .rubocop.yml
transproc-0.3.1 .rubocop.yml
transproc-0.3.0 .rubocop.yml
transproc-0.2.4 .rubocop.yml
transproc-0.2.3 .rubocop.yml
transproc-0.2.2 .rubocop.yml