Sha256: 31bcbde0ac3703e4625fdfbdd78b06298bb6aaa6d861624af715a5a22d770a9a

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

AllCops:
  Exclude:
    - specify.gemspec
    - test/*.rb
    - spec/**/*

# 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

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

# 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

Style/AccessorMethodName:
  Enabled: false

Style/PredicateName:
  Enabled: false

Style/MethodName:
  Enabled: false

Style/Alias:
  Enabled: false

Style/Next:
  Enabled: false

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

# short methods
Metrics/MethodLength:
  Max: 25

Metrics/LineLength:
  Enabled: false
  #Max: 115

# fewer parameters
Metrics/ParameterLists:
  Max: 5

Metrics/AbcSize:
  Enabled: false

Metrics/ModuleLength:
  Max: 130

Metrics/CyclomaticComplexity:
  Max: 12

Metrics/PerceivedComplexity:
  Max: 12

Lint/RescueException:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
specify-0.10.2 .hound.yml