Sha256: 6981fdf05648f22b87a09717652c8bc92b87dffd9f71fd36cbb0339403940ab5

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

AllCops:
  Exclude:
    - rspec_variants.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.
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 bad 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

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

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

# This needs to be lengthened for this gem. Trying to shoehorn
# lines into shorter elements is simply not worth it and doesn't
# make it more readable.
# Metrics/LineLength:
#  Enabled: false

# Changing this due to how Proverbs ties in with RSpec and my
# desire not to break apart functionality that does in fact
# belong together.
# Metrics/AbcSize:
#  Max: 22

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_variants-0.1.0 .hound.yml