Sha256: f83c8c2511391792d0c89fba855424eec4ac2fad67226ed40deed5ff46b6280c

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

# This is the default configuration file. Enabling and disabling is configured
# in separate files. This file adds all other parameters apart from Enabled.

inherit_from:
  - enabled.yml
  - disabled.yml

# Common configuration.
AllCops:
  # Include gemspec and Rakefile
  Includes:
    - '**/*.gemspec'
    - '**/Rakefile'
  Excludes: []

# Limit lines to 79 characters.
LineLength:
  Max: 79

# Avoid methods longer than 10 lines of code
MethodLength:
  CountComments: false  # count full line comments?
  Max: 10

# Avoid parameter lists longer than four parameters.
ParameterLists:
  Max: 4

# Don't use semicolons to terminate expressions.
Semicolon:
  # For example; def area(height, width); height * width end
  AllowAfterParameterListInOneLineMethods: false
  # For example; def area(height, width) height * width; end
  AllowBeforeEndInOneLineMethods: true

# Avoid single-line methods.
SingleLineMethods:
  AllowIfMethodIsEmpty: true

# Use spaces inside hash literal braces - or don't.
SpaceInsideHashLiteralBraces:
  EnforcedStyleIsWithSpaces: true

# Symbol literals should use snake_case.
SymbolName:
  AllowCamelCase: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-0.8.3 config/default.yml
rubocop-0.8.2 config/default.yml