Sha256: 9266425a55503b5b943afe3ae12a4d067c05826c5a352aab6170b0cf302487dd

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

AllCops:
  Exclude:
    - specify.gemspec
    - 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.
Layout/AlignHash:
  EnforcedLastArgumentHashStyle: ignore_implicit

# Align multi-line params with previous line.
Layout/AlignParameters:
  EnforcedStyle: with_fixed_indentation

# Indent `when` clause one step from `case`.
Layout/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.
Layout/DotPosition:
  EnforcedStyle: leading

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

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

# Encourage short (as possible) modules.
Metrics/ModuleLength:
  Max: 100

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

# Remove execute permissions check.
Lint/ScriptPermission:
  Enabled: false

# Specify Additions

# This checks assignments, branches and coverage. During development,
# adding to the output of RSpec in a way that reads cleanly as code
# means being a little only slightly more forgiving for this metric.
# The default value is 15.
Metrics/AbcSize:
  Max: 17

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
specify-1.0.0 .hound.yml