Sha256: ae79d5888afe3cca215b834f8157cb707a9260e43464072e0fea9a86ff9a1438

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

AllCops:
  Exclude:
    - tapestry.gemspec
    - examples/*.rb
    - spec/**/*

# Removing need for frozen string literal comment.
Style/FrozenStringLiteralComment:
  Enabled: false

# Removing the preference for string single quotes.
Style/StringLiterals:
  Enabled: false

# Missing top-level module documentation comment.
Style/Documentation:
  Enabled: false

# Prefer reduce over inject.
Style/CollectionMethods:
  PreferredMethods:
    reduce: 'inject'

# Use each_with_object instead of inject.
Style/EachWithObject:
  Enabled: false

# Prefer fail over raise.
Style/SignalException:
  Enabled: false

# This never works for validations.
Layout/AlignHash:
  EnforcedLastArgumentHashStyle: ignore_implicit

# Align multi-line params with previous line.
Layout/AlignParameters:
  EnforcedStyle: with_fixed_indentation

# Indent `when` clause one step from `case`.
Layout/CaseIndentation:
  IndentOneStep: true

# Don't force bad var names for reduce/inject loops.
Style/SingleLineBlockParams:
  Enabled: false

# For method chains, keep the dot with the method name.
Layout/DotPosition:
  EnforcedStyle: leading

# Stop nesting so hard.
Metrics/BlockNesting:
  Max: 2

# Encourage short methods.
Metrics/MethodLength:
  Max: 15

# Encourage short (as possible) modules.
Metrics/ModuleLength:
  Max: 110

# Encourage fewer parameters.
Metrics/ParameterLists:
  Max: 4

# Allow methods with has_ for predicates.
Naming/PredicateName:
  NameWhitelist:
    - has_correct_url?
    - has_correct_title?

# Remove execute permissions check.
Lint/ScriptPermission:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tapestry-0.7.0 .hound.yml
tapestry-0.6.0 .hound.yml