inherit_from: .rubocop_todo.yml

require:
  - rubocop-rspec
  - rubocop-performance

AllCops:
  TargetRubyVersion: 2.3

# Trailing dots
Layout/DotPosition:
  EnforcedStyle: trailing

# Blocks can be any length in spec files
Metrics/BlockLength:
  Exclude:
    - 'spec/**/*_spec.rb'

# Be lenient with line length
Metrics/LineLength:
  Max: 110

Naming/PredicateName:
  NameWhitelist:
    - 'has_one'
    - 'has_many'
    - 'has_xml_content'

RSpec/FilePath:
  CustomTransform:
    HappyMapper: 'happymapper'

# Use older RuboCop default
Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': ()

# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  EnforcedStyle: comparison

inherit_from: .rubocop_todo.yml

require:
  - rubocop-rspec
  - rubocop-performance

AllCops:
  TargetRubyVersion: 2.3

# Trailing dots
Layout/DotPosition:
  EnforcedStyle: trailing

# Blocks can be any length in spec files
Metrics/BlockLength:
  Exclude:
    - 'spec/**/*_spec.rb'

# Be lenient with line length
Metrics/LineLength:
  Max: 110

Naming/PredicateName:
  AllowedMethods:
    - 'has_one'
    - 'has_many'
    - 'has_xml_content'

RSpec/FilePath:
  CustomTransform:
    HappyMapper: 'happymapper'

# Use older RuboCop default
Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': ()

# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
  EnforcedStyle: comparison

Update RuboCop configuration for RuboCop 0.77.0
Update RuboCop configuration for RuboCop 0.77.0
