inherit_from: .rubocop_todo.yml

require:
  - rubocop-rspec
  - rubocop-performance

AllCops:
  TargetRubyVersion: 2.3
  Exclude:
    # These are auto-generated from a load of features that we
    # don't have direct control over
    - 'tmp/**/*'
    # Generated by appraisal
    - 'gemfiles/*.gemfile'

Style/Documentation:
  Enabled: false

Metrics/LineLength:
  Max: 200
  IgnoredPatterns:
    - '^Given'
    - '^When'
    - '^Then'

Style/RegexpLiteral:
  EnforcedStyle: slashes
  AllowInnerSlashes: true

BlockLength:
  Exclude:
    - './spec/**/*_spec.rb'
    - 'cucumber-rails.gemspec'

inherit_from: .rubocop_todo.yml

require:
  - rubocop-rspec
  - rubocop-performance

AllCops:
  TargetRubyVersion: 2.3
  Exclude:
    # These are auto-generated from a load of features that we
    # don't have direct control over
    - 'tmp/**/*'
    # Generated by appraisal
    - 'gemfiles/*.gemfile'

Metrics/BlockLength:
  Exclude:
    - './spec/**/*_spec.rb'
    - 'cucumber-rails.gemspec'

Metrics/LineLength:
  Max: 200
  IgnoredPatterns:
    - '^Given'
    - '^When'
    - '^Then'

Style/Documentation:
  Enabled: false

Style/RegexpLiteral:
  EnforcedStyle: slashes
  AllowInnerSlashes: true

Sort cops and add namespace in RuboCop configuration
Sort cops and add namespace in RuboCop configuration
