hashie/.rubocop_todo.yml

72 lines
1.7 KiB
YAML

# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-02-01 08:14:39 -0600 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: 10
Metrics/AbcSize:
Max: 29
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 200
# Offense count: 8
Metrics/CyclomaticComplexity:
Max: 11
# Offense count: 239
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 170
# Offense count: 17
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 28
# Offense count: 6
Metrics/PerceivedComplexity:
Max: 10
# Offense count: 2
Style/CaseEquality:
Exclude:
- 'lib/hashie/hash.rb'
# Offense count: 34
# Configuration parameters: Exclude.
Style/Documentation:
Enabled: false
# Offense count: 11
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'