mattray/spiceweasel

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  Includes:
    - bin/**/*
    - lib/**/*
    - spec/**/*
  Excludes:
    - test/chef-repo/**/*
    - test/examples/**/*
    - test/extract-repo/**/*

# ignore long classes
ClassLength:
  Enabled: false

# ignore long lines
LineLength:
  Enabled: false

# Allow small arrays before forcing  %w or %W
WordArray:
  MinSize: 3

# Ignore this for now
MethodLength:
  Max: 125

# validation requires other objects
ParameterLists:
  Enabled: false

# this needs to be cleaned up in lib/spiceweasel/nodes.rb
BlockNesting:
  Enabled: false

RedundantReturn:
  # When true allows code like `return x, y`.
  AllowMultipleReturnValues: true