Sha256: 294baef7616937fecc7c7d87633655e0c1d8be8303f186d721849798b807ae18

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-09-27 11:32:40 -0700 using RuboCop version 0.43.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 6
Metrics/AbcSize:
  Max: 67

# Offense count: 6
Metrics/CyclomaticComplexity:
  Max: 11

# Offense count: 114
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
  Max: 170

# Offense count: 6
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 25

# Offense count: 4
Metrics/PerceivedComplexity:
  Max: 11

# Offense count: 10
Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'test/**/*'
    - 'examples/mongoid_scroll_feed.rb'
    - 'lib/mongo/scrollable.rb'
    - 'lib/mongoid/criterion/scrollable.rb'
    - 'lib/mongoid/scroll/cursor.rb'
    - 'lib/mongoid/scroll/errors/base.rb'
    - 'lib/mongoid/scroll/errors/invalid_cursor_error.rb'
    - 'lib/mongoid/scroll/errors/multiple_sort_fields_error.rb'
    - 'lib/mongoid/scroll/errors/no_such_field_error.rb'
    - 'lib/mongoid/scroll/errors/unsupported_field_type_error.rb'
    - 'lib/moped/scrollable.rb'

# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
Style/FileName:
  Exclude:
    - 'lib/mongoid-scroll.rb'

# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'lib/mongoid/criterion/scrollable.rb'
    - 'lib/moped/scrollable.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
  EnforcedStyle: compact

# Offense count: 1
# Configuration parameters: SupportedStyles.
# SupportedStyles: snake_case, normalcase, non_integer
Style/VariableNumber:
  EnforcedStyle: normalcase

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-scroll-0.3.5 .rubocop_todo.yml