Sha256: 696f58e2e5facabb5b9ae15f2b6bb536f2311368c78430a9d3ae44a7c8fa9089

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

AllCops:
  Include:
    - '../**/*.rake'
    - 'Gemfile'
    - 'Guardfile'
    - 'Rakefile'
  Exclude:
    - !ruby/regexp /spec\/setup/

# Avoid parameter lists longer than five parameters.
ParameterLists:
  Max: 3
  CountKeywordArgs: true

# Avoid more than `Max` levels of nesting.
BlockNesting:
  Max: 3

# Align with the style guide.
CollectionMethods:
  PreferredMethods:
    collect:  'map'
    inject:   'reduce'
    find:     'detect'
    find_all: 'select'

HashSyntax:
  Enabled: true

StringLiterals:
  Enabled: true

Void:
  Enabled: true

LineLength:
  Enabled: true
  Max: 120

DotPosition:
  EnforcedStyle: 'leading'

SpaceInsideHashLiteralBraces:
  Enabled: true

AlignParameters:
  Enabled: true

# I don't agree with this
Blocks:
  Enabled: false

NumericLiterals:
  Enabled: true

SpaceInsideBrackets:
  Enabled: true

WordArray:
  Enabled: true

Lambda:
  Enabled: true

RegexpLiteral:
  Enabled: true

# Don't agree
ConstantName:
  Enabled: false

TrivialAccessors:
  Enabled: true
  ExactNameMatch: true

Alias:
  Enabled: true

Loop:
  Enabled: false

# Do not agree at all
AndOr:
  Enabled: false

# This is done by YARD Stick
Documentation:
  Enabled: false

# Braces can be really, really useful for clarity
BracesAroundHashParameters:
  Enabled: false

# I prefer raise over fail
SignalException:
  EnforcedStyle: only_raise

ClassLength:
  CountComments: false
  Max: 140

# The suggested style does not match the common ruby way of aligning the content of a hash
IndentHash:
  Enabled: false

# This cop seems to not work correctly. Also we don't agree with it.
FileName:
  Enabled: false

# Double negations are extremely useful
DoubleNegation:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ashikawa-core-0.12.0 .hound.yml
ashikawa-core-0.11.0 .hound.yml