Sha256: 2e3e5d5dc5368008e04867b383eece603fce4a9c77647bb693a570da0f8d50de

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

AllCops:
  Includes:
    - '**/*.rake'
    - 'Gemfile'
    - 'Gemfile.devtools'
  Excludes:
    - '**/vendor/**'

# 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'

# 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.
AccessControl:
  Enabled: false

LineLength:
  Max: 108

Blocks:
  Enabled: false

Documentation:
  Enabled: false

EmptyLineBetweenDefs:
  Enabled: false # TODO: re-enable once SpecHelper.mock_model case is properly handled

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rom-mapper-0.1.1 config/rubocop.yml
rom-session-0.1.1 config/rubocop.yml
rom-session-0.1.0 config/rubocop.yml
rom-mapper-0.1.0 config/rubocop.yml