72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2016-06-01 14:51:33 -0700 using RuboCop version 0.34.2.
|
|
# 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: 2
|
|
Lint/NestedMethodDefinition:
|
|
Exclude:
|
|
- 'lib/hashie/extensions/indifferent_access.rb'
|
|
|
|
# Offense count: 8
|
|
Metrics/AbcSize:
|
|
Max: 29
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ClassLength:
|
|
Max: 191
|
|
|
|
# Offense count: 6
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 11
|
|
|
|
# Offense count: 231
|
|
# Configuration parameters: AllowURI, URISchemes.
|
|
Metrics/LineLength:
|
|
Max: 170
|
|
|
|
# Offense count: 16
|
|
# Configuration parameters: CountComments.
|
|
Metrics/MethodLength:
|
|
Max: 28
|
|
|
|
# Offense count: 5
|
|
Metrics/PerceivedComplexity:
|
|
Max: 10
|
|
|
|
# Offense count: 2
|
|
Style/CaseEquality:
|
|
Exclude:
|
|
- 'lib/hashie/hash.rb'
|
|
|
|
# Offense count: 32
|
|
# Configuration parameters: Exclude.
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
Style/DoubleNegation:
|
|
Exclude:
|
|
- 'lib/hashie/dash.rb'
|
|
- 'lib/hashie/extensions/dash/indifferent_access.rb'
|
|
- 'lib/hashie/extensions/method_access.rb'
|
|
- 'lib/hashie/mash.rb'
|
|
- 'spec/hashie/extensions/coercion_spec.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
|
|
Style/HashSyntax:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
Style/RegexpLiteral:
|
|
Exclude:
|
|
- 'Guardfile'
|