Sha256: c963c024aeadc75ca1859cc26b5bfa2b5806f2fd49e88a551f717c251dbe79ac

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

# This is the configuration used to check the rubocop source code.
AllCops:
  Include:
    - Gemfile
    - Rakefile
    - bin/*
    - <%= name %>.gemspec
    - lib/**/*.rb
    - test/**/*.rb

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

MethodLength:
  CountComments: false
  Max: 15

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

AccessModifierIndentation:
  Enabled: false

# Limit line length
LineLength:
  Enabled: false

# Disable documentation checking until a class needs to be documented once
Documentation:
  Enabled: false

# Enforce Ruby 1.8-compatible hash syntax
HashSyntax:
  Enabled: true

# No spaces inside hash literals
SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

# Allow dots at the end of lines
DotPosition:
  Enabled: false

# Don't require magic comment at the top of every file
Encoding:
  Enabled: false

EmptyLinesAroundAccessModifier:
  Enabled: true

# Align ends correctly
EndAlignment:
  AlignWith: variable

# Indentation of when/else
CaseIndentation:
  IndentWhenRelativeTo: end
  IndentOneStep: false

DoubleNegation:
  Enabled: false

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

StringLiterals:
  EnforcedStyle: double_quotes

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.3 templates/dot_rubocop.yml