Sha256: 96a30c3c990edb1802cebc9f8c6d6d5838c9ff72ea0658bfd457353daf744459

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

AllCops:
  Exclude:
    - thanos.gemspec
    - spikes/*.rb
    - spec/**/*

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

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

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

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

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

Style/TrailingComma:
  EnforcedStyleForMultiline: comma

# This never works for validations
Style/AlignHash:
  EnforcedLastArgumentHashStyle: ignore_implicit

# align multi-line params with previous line
Style/AlignParameters:
  EnforcedStyle: with_fixed_indentation

# indent `when` clause one step from `case`
Style/CaseIndentation:
  IndentOneStep: true

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

# for method chains, keep the dot with the method name
Style/DotPosition:
  EnforcedStyle: leading

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

# short methods, man...
Metrics/MethodLength:
  Enabled: false

# fewer parameters
Metrics/ParameterLists:
  Max: 3

Metrics/AbcSize:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thanos-0.6.0 .hound.yml
thanos-0.5.0 .hound.yml