Sha256: 8e6cb7615eed8f48cb3434a29c536e65ae0264d66c93841bd9e8537019bfdda0

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

AllCops:
  Exclude:
    - symbiont.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/TrailingInLiteralComma:
  Enabled: false

Style/TrailingCommaInArguments:
  Enabled: false

# 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

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

# short methods
Metrics/MethodLength:
  Max: 20

Metrics/LineLength:
  Max: 105

# fewer parameters
Metrics/ParameterLists:
  Max: 5

Metrics/AbcSize:
  Enabled: false

Metrics/ModuleLength:
  Max: 130

Metrics/CyclomaticComplexity:
  Max: 12

Metrics/PerceivedComplexity:
  Max: 12

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
symbiont-1.2.0 .hound.yml
symbiont-1.1.2 .hound.yml