kibitan/masking

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-02-26 19:42:34 UTC using RuboCop version 1.46.0.
# 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: 1
RSpec/AnyInstance:
  Exclude:
    - 'spec/masking/config_spec.rb'

# Offense count: 39
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
  Exclude:
    - 'spec/integration/commandline_spec.rb'
    - 'spec/masking/cli_spec.rb'
    - 'spec/masking/config/target_columns/column_spec.rb'
    - 'spec/masking/config/target_columns/method/binary_spec.rb'
    - 'spec/masking/config/target_columns/method/string_binary_distinctor_spec.rb'
    - 'spec/masking/config/target_columns/method_spec.rb'
    - 'spec/masking/config/target_columns_spec.rb'
    - 'spec/masking/config_spec.rb'
    - 'spec/masking/data_mask_processor/cache_spec.rb'
    - 'spec/masking/insert_statement_spec.rb'
    - 'spec/masking/sql_dump_line_spec.rb'

# Offense count: 1
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
  Exclude:
    - '**/spec/features/**/*'
    - '**/spec/requests/**/*'
    - '**/spec/routing/**/*'
    - '**/spec/system/**/*'
    - '**/spec/views/**/*'
    - 'spec/integration/commandline_spec.rb'

# Offense count: 6
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
  Max: 7

# Offense count: 1
RSpec/ExpectInHook:
  Exclude:
    - 'spec/masking/insert_statement_spec.rb'

# Offense count: 4
RSpec/ExpectOutput:
  Exclude:
    - 'spec/masking/cli_spec.rb'

# Offense count: 1
RSpec/MessageChain:
  Exclude:
    - 'spec/masking_spec.rb'

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

# Offense count: 5
RSpec/MultipleExpectations:
  Max: 3

# Offense count: 44
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
  Exclude:
    - 'spec/masking/cli/error_message_spec.rb'
    - 'spec/masking/config/target_columns/column_spec.rb'
    - 'spec/masking/config/target_columns/method/binary_spec.rb'
    - 'spec/masking/config/target_columns/method/string_spec.rb'
    - 'spec/masking/config/target_columns/method_spec.rb'
    - 'spec/masking/config/target_columns/table_spec.rb'
    - 'spec/masking/config/target_columns_spec.rb'
    - 'spec/masking/config_spec.rb'
    - 'spec/masking/insert_statement/sql_builder_spec.rb'
    - 'spec/masking/insert_statement_spec.rb'
    - 'spec/masking_spec.rb'

# Offense count: 19
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
  Max: 5

# Offense count: 4
RSpec/RepeatedExampleGroupDescription:
  Exclude:
    - 'spec/integration/commandline_spec.rb'
    - 'spec/masking/cli_spec.rb'

# Offense count: 3
RSpec/StubbedMock:
  Exclude:
    - 'spec/masking/cli_spec.rb'
    - 'spec/masking/config/target_columns/method_spec.rb'
    - 'spec/masking/sql_dump_line_spec.rb'