Sha256: 62ac8ec50d121a4dc007ceed45c21d6702058d5b071f3a987a0c0a6b79ec3de8

Contents?: true

Size: 1.7 KB

Versions: 6

Compression:

Stored size: 1.7 KB

Contents

AllCops:
  Include:
    - 'Gemfile'
    - 'Thorfile'
    - 'thor.gemspec'

# 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'
    find:     'detect'
    find_all: 'select'

# Do not force public/protected/private keyword to be indented at the same
# level as the def keyword. My personal preference is to outdent these keywords
# because I think when scanning code it makes it easier to identify the
# sections of code and visually separate them. When the keyword is at the same
# level I think it sort of blends in with the def keywords and makes it harder
# to scan the code and see where the sections are.
AccessModifierIndentation:
  Enabled: false

# Limit line length
LineLength:
  Enabled: false

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

# No spaces inside hash literals
SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

# Allow dots at the end of lines
DotPosition:
  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': ()

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bombard-0.1.0 .rubocop.yml
bombard-0.0.6 .rubocop.yml
bombard-0.0.5 .rubocop.yml
bombard-0.0.4 .rubocop.yml
bombard-0.0.3 .rubocop.yml
bombard-0.0.2 .rubocop.yml