glebm/i18n-tasks

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.50.1.
# 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.

# Configuration parameters: EnforcedStyle, AllowedGems, Include.
# SupportedStyles: Gemfile, gems.rb, gemspec
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
Gemspec/DevelopmentDependencies:
  Exclude:
    - 'i18n-tasks.gemspec'

# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'lib/i18n/tasks/scanners/ast_matchers/message_receivers_matcher.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonAtomicFileOperation:
  Exclude:
    - 'lib/i18n/tasks/data/file_system_base.rb'

# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
  Exclude:
    - 'spec/commands/tree_commands_spec.rb'
    - 'spec/deepl_translate_spec.rb'
    - 'spec/google_translate_spec.rb'
    - 'spec/locale_tree/siblings_spec.rb'
    - 'spec/relative_keys_spec.rb'

# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
  Enabled: false

# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
  Max: 146

# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
# DisallowedExamples: works
RSpec/ExampleWording:
  Exclude:
    - 'spec/deepl_translate_spec.rb'
    - 'spec/google_translate_spec.rb'
    - 'spec/relative_keys_spec.rb'

# This cop supports safe autocorrection (--autocorrect).
RSpec/ExpectActual:
  Exclude:
    - 'spec/routing/**/*'
    - 'spec/key_pattern_matching_spec.rb'

RSpec/IdenticalEqualityAssertion:
  Exclude:
    - 'spec/scanners/files/caching_file_finder_provider_spec.rb'

# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
  EnforcedStyle: receive

RSpec/MultipleExpectations:
  Max: 9

# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
  Max: 7

# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
  Max: 4

RSpec/StubbedMock:
  Exclude:
    - 'spec/scanners/pattern_mapper_spec.rb'

# This cop supports safe autocorrection (--autocorrect).
Rake/Desc:
  Exclude:
    - 'Rakefile'

# This cop supports unsafe autocorrection (--autocorrect-all).
Style/HashTransformValues:
  Exclude:
    - 'lib/i18n/tasks/data/tree/traversal.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowComments.
Style/RedundantInitialize:
  Exclude:
    - 'lib/i18n/tasks/cli.rb'

# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
Style/YodaCondition:
  Exclude:
    - 'lib/i18n/tasks/split_key.rb'