Sha256: 8de7a27a468eb9abaff70f8dbe6e7e92a2b71e72d4a86ee2944d78bea80aaec1

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 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/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

# 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: 120

Metrics/CyclomaticComplexity:
  Max: 7

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
symbiont-0.13.0 .hound.yml