Sha256: 9a9c6aadbd186eab73fea5de0543a9c537e6491b2ba02434a9487d6169296497

Contents?: true

Size: 1.47 KB

Versions: 8

Compression:

Stored size: 1.47 KB

Contents

AllCops:
  Include:
    - Gemfile
    - Guardfile
    - Rakefile
    - bin/*
    - code_lister.gemspec
    - lib/**/*.rb
    - spec/**/*.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

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

# Limit line length
LineLength:
  Enabled: false

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

HashSyntax:
  Enabled: false

# No spaces inside hash literals
SpaceInsideHashLiteralBraces:
  EnforcedStyle: 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

# # Enforce outdenting of access modifiers (i.e. public, private, protected)
# AccessModifierIndentation:
#   EnforcedStyle: outdent

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

8 entries across 8 versions & 1 rubygems

Version Path
code_lister-0.2.7 .rubocop.yml
code_lister-0.2.6 .rubocop.yml
code_lister-0.2.5 .rubocop.yml
code_lister-0.2.4 .rubocop.yml
code_lister-0.2.3 .rubocop.yml
code_lister-0.2.2 .rubocop.yml
code_lister-0.2.1 .rubocop.yml
code_lister-0.2.0 .rubocop.yml