Sha256: 9ae2ae881438e08857b355752010f44920f18116e26f80044b9535f55e3785c4

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

# Avoid long parameter lists
ParameterLists:
  Max: 3
  CountKeywordArgs: true

MethodLength:
  CountComments: false
  Max: 15

ClassLength:
  CountComments: false
  Max: 100

CyclomaticComplexity:
  Max: 6

EmptyLineBetweenDefs:
  AllowAdjacentOneLineDefs: true

BlockNesting:
  Max: 3

HashSyntax:
  EnforcedStyle: hash_rockets

StringLiterals:
  EnforcedStyle: double_quotes

AlignParameters:
  EnforcedStyle: with_fixed_indentation

IndentHash:
  EnforcedStyle: consistent

PercentLiteralDelimiters:
  PreferredDelimiters:
    '%':  ()
    '%i': ()
    '%q': ()
    '%Q': ()
    '%r': '{}'
    '%s': ()
    '%w': '[]'
    '%W': '[]'
    '%x': ()

Encoding:
  Enabled: false

BracesAroundHashParameters:
  Enabled: false

Documentation:
  Enabled: false

# Not all trivial readers/writers can be defined with attr_* methods
TrivialAccessors:
  Enabled: false

# New lambda syntax is UGLY, don't enforce it
Lambda:
  Enabled: false

# Ridiculous (and IMHO useless) restriction, that makes impossible aligning
# code like this:
#
#   redis.hset    :k1, now
#   redis.hincrby :k2, 123
SingleSpaceBeforeFirstArg:
  Enabled: false

AllCops:
  Include:
    - Gemfile

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
cachew-0.2.1 .rubocop.yml
cachew-0.2.0 .rubocop.yml
jekyll-assets-0.7.8 .rubocop.yml