Sha256: 6255d34d52e357c64494a626dcbad8f24d1fe2a7dfd3fd0358083064b6743358

Contents?: true

Size: 982 Bytes

Versions: 2

Compression:

Stored size: 982 Bytes

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

# 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-0.7.2 config/default.yml
rubocop-0.7.1 config/default.yml