Sha256: e1419b48602fd915ac7f55eb66d862a05a091e46f7009dd427fc1a7a0ca922b8

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

AllCops:
  Include:
    - '**/*.rake'
    - 'Gemfile'
    - 'Gemfile.devtools'
  Exclude:
    - '**/vendor/**'
    - '**/benchmarks/**'

# Avoid parameter lists longer than five parameters.
ParameterLists:
  Max: 3
  CountKeywordArgs: true

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

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

# Limit line length
LineLength:
  Max: 81

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

# Do not favor modifier if/unless usage when you have a single-line body
IfUnlessModifier:
  Enabled: false

# Allow case equality operator (in limited use within the specs)
CaseEquality:
  Enabled: false

# Constants do not always have to use SCREAMING_SNAKE_CASE
ConstantName:
  Enabled: false

# Not all trivial readers/writers can be defined with attr_* methods
TrivialAccessors:
  Enabled: false

# Do not prefer do/end over {} for multiline blocks
Blocks:
  Enabled: false

# Do not favor aligned parameters in method calls
AlignParameters:
  Enabled: false

HashSyntax:
  Enabled: false

SpaceInsideBrackets:
  Enabled: false

Lambda:
  Enabled: false # i personally like the look of multiline ->(arg) {} lambdas

AndOr:
  Enabled: false # we agree to use and/or for control flow

Style/SingleSpaceBeforeFirstArg:
  Enabled: false

Style/EmptyLinesAroundBody:
  Enabled: false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orc-0.0.4 config/rubocop.yml
orc-0.0.3 config/rubocop.yml
orc-0.0.2 config/rubocop.yml