Sha256: 8ed569681ef6fd0aca2abea606240ad7108f877dd7d6a7b800ee277becf03c0b

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 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 five parameters.
ParameterLists:
  Max: 5
  CountKeywordArgs: true

# 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

# Use %r for regular expressions matching more than `MaxSlashes` '/'
# characters.
# Use %r only for regular expressions matching more than `MaxSlashes` '/'
# character.
RegexpLiteral:
  MaxSlashes: 1

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
sabat-rubocop-0.9.0 config/default.yml
rubocop-0.9.0 config/default.yml