Sha256: b4e06fdb435a8b883262059200446e98956972f7987d55d439e21a66e0f77c91

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 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:
  EnforcedStyle: single_quotes

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

3 entries across 3 versions & 1 rubygems

Version Path
ashikawa-core-0.14.0 .hound.yml
ashikawa-core-0.13.1 .hound.yml
ashikawa-core-0.13.0 .hound.yml