<commit_before>inherit_from: .rubocop_todo.yml

require:
  - rubocop-packaging

AllCops:
  # Keep this inline with the lowest ruby-* version in circleci/config.yml and
  # the version in the gemspec
  TargetRubyVersion: 2.5
  # Cop names are not displayed in offense messages by default. Change behavior
  # by overriding DisplayCopNames, or by giving the `-D/--display-cop-names`
  # option.
  DisplayCopNames: true
  # Style guide URLs are not displayed in offense messages by default. Change
  # behavior by overriding `DisplayStyleGuide`, or by giving the
  # `-S/--display-style-guide` option.
  DisplayStyleGuide: true
  NewCops: enable

# Disabling to allow people to install cucumber-core on older rubies
Gemspec/RequiredRubyVersion:
  Enabled: false

# Disabling for appveyor
Layout/EndOfLine:
  Enabled: false

# Reviewed: please see PR-1022 for details on why this cop is disabled:
# https://github.com/cucumber/cucumber-ruby/pull/1022
Lint/AmbiguousOperator:<commit_msg>Deactivate Gemspec/RequireMFA cop as we do not support MFA at the moment<commit_after>inherit_from: .rubocop_todo.yml

require:
  - rubocop-packaging

AllCops:
  # Keep this inline with the lowest ruby-* version in circleci/config.yml and
  # the version in the gemspec
  TargetRubyVersion: 2.5
  # Cop names are not displayed in offense messages by default. Change behavior
  # by overriding DisplayCopNames, or by giving the `-D/--display-cop-names`
  # option.
  DisplayCopNames: true
  # Style guide URLs are not displayed in offense messages by default. Change
  # behavior by overriding `DisplayStyleGuide`, or by giving the
  # `-S/--display-style-guide` option.
  DisplayStyleGuide: true
  NewCops: enable

# Disabling to allow people to install cucumber-core on older rubies
Gemspec/RequiredRubyVersion:
  Enabled: false

# We do not support MFA at the moment with the new automated release process
Gemspec/RequireMFA:
  Enabled: false

# Disabling for appveyor
Layout/EndOfLine:
  Enabled: false

# Reviewed: please see PR-1022 for details on why this cop is disabled:
# https://github.com/cucumber/cucumber-ruby/pull/1022
Lint/AmbiguousOperator:
{'fraction_non_alphanumeric': 0.0734331150608045, 'fraction_numerical': 0.009354536950420954, 'mean_word_length': 4.1791767554479415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '286346', 'n_tokens_mistral': 696, 'n_tokens_neox': 643, 'n_words': 237}