Sha256: 079f754695bf2a76feeed9562bfb070e880f39f87ed382b7bf5a344417fa91a1

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

inherit_from: .rubocop_todo.yml

# Do not attempt to police vendored code
AllCops:
  NewCops: enable
  TargetRubyVersion: 2.7
  Exclude:
    - 'vendor/**/*'

Style/StringLiterals:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: false

Layout/LineLength:
  Enabled: false

Lint/AmbiguousRegexpLiteral:
  Enabled: false

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

# Stick to verbose until https://bugs.ruby-lang.org/issues/10177 is closed.
Style/PreferredHashMethods:
  EnforcedStyle: verbose

Layout/HashAlignment:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table

Style/Not:
  Enabled: false

# comply with @ytti's exacting specifications
Style/CommandLiteral:
  EnforcedStyle: percent_x

Style/FormatString:
  EnforcedStyle: percent

Style/FormatStringToken:
  EnforcedStyle: unannotated

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Style/RescueModifier:
  Enabled: false

Style/SymbolProc:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/ParallelAssignment:
  Enabled: false

Metrics/MethodLength:
  Max: 45

## Metrics/AbcSize:
##   Max: 28

Metrics/ClassLength:
  Max: 200

## Metrics/CyclomaticComplexity:
##   Max: 7

Metrics/BlockLength:
  Max: 150

Metrics/ParameterLists:
  Max: 6

Lint/EmptyBlock:
  Enabled: false

require:
  - rubocop-rake
  - rubocop-minitest

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asetus-0.4.0 .rubocop.yml