.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-05-09 14:44:08 UTC using RuboCop version 1.50.2.
# 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: 8
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Layout/EmptyLineBetweenDefs:
Exclude:
- 'lib/staccato/tracker.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: around, only_before
Layout/EmptyLinesAroundAccessModifier:
Exclude:
- 'lib/staccato/adapter/logger.rb'
- 'lib/staccato/hit.rb'
# Offense count: 9
# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceAfterComma:
Exclude:
- 'lib/staccato/adapter/logger.rb'
- 'lib/staccato/boolean_helpers.rb'
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
Exclude:
- 'lib/staccato/tracker.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
Exclude:
- 'lib/staccato/measurable.rb'
- 'lib/staccato/measurement/impression_list.rb'
- 'lib/staccato/measurement/product.rb'
- 'lib/staccato/measurement/promotion.rb'
- 'lib/staccato/timing.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Performance/BlockGivenWithExplicitBlock:
Exclude:
- 'lib/staccato/timing.rb'
- 'lib/staccato/tracker.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/InefficientHashSearch:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
RSpec/ContextMethod:
Exclude:
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 10
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 1
RSpec/DescribeMethod:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 20
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/exception_spec.rb'
- 'spec/lib/staccato/measurement_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
# Offense count: 1
RSpec/ExpectInHook:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 8
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
# Offense count: 38
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/integration/noop_tracker_spec.rb'
# Offense count: 1
RSpec/MultipleDescribes:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyCaseCondition:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'lib/staccato/adapter/logger.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowSplatArgument.
Style/HashConversion:
Exclude:
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
- 'lib/staccato/measurement.rb'
# Offense count: 22
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Exclude:
- 'lib/staccato/adapter/http.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods, AllowedPatterns.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantSelf:
Exclude:
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
- 'lib/staccato/timing.rb'
# Offense count: 45
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'lib/staccato.rb'
- 'lib/staccato/version.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'lib/staccato/tracker.rb'