# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-09 17:19:16 UTC using RuboCop version 1.11.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
# Cop supports --auto-correct.
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/OrderedGems:
  Exclude:
    - 'Gemfile'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemspec
Gemspec/OrderedDependencies:
  Exclude:
    - 'rspec-core.gemspec'

# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
  Exclude:
    - 'rspec-core.gemspec'

# Offense count: 20
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_argument, with_fixed_indentation
Layout/ArgumentAlignment:
  Exclude:
    - 'benchmarks/threadsafe_let_block.rb'
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'spec/rspec/core/backtrace_formatter_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/documentation_formatter_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/rake_task_spec.rb'
    - 'spec/rspec/core/reporter_spec.rb'
    - 'spec/rspec/core_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_element, with_fixed_indentation
Layout/ArrayAlignment:
  Exclude:
    - 'spec/rspec/core/filter_manager_spec.rb'
    - 'spec/rspec/core/resources/formatter_specs.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: start_of_line, begin
Layout/BeginEndAlignment:
  Exclude:
    - 'lib/rspec/core/runner.rb'

# Offense count: 6
# Cop supports --auto-correct.
Layout/BlockEndNewline:
  Exclude:
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/metadata_filter_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
# SupportedStyles: case, end
Layout/CaseIndentation:
  Exclude:
    - 'spec/support/matchers.rb'

# Offense count: 9
# Cop supports --auto-correct.
Layout/ClosingHeredocIndentation:
  Exclude:
    - 'benchmarks/filter_object.rb'
    - 'lib/rspec/core/formatters/html_printer.rb'
    - 'lib/rspec/core/memoized_helpers.rb'
    - 'lib/rspec/core/option_parser.rb'
    - 'spec/rspec/core/notifications_spec.rb'

# Offense count: 32
# Cop supports --auto-correct.
Layout/CommentIndentation:
  Exclude:
    - 'benchmarks/check_inclusion.rb'

# Offense count: 68
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Layout/EmptyLines:
  Exclude:
    - 'spec/integration/persistence_failures_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/example_spec.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
  Exclude:
    - 'lib/rspec/core/configuration.rb'
    - 'lib/rspec/core/minitest_assertions_adapter.rb'
    - 'spec/rspec/core/bisect/example_minimizer_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/resources/custom_example_group_runner.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
Layout/EmptyLinesAroundModuleBody:
  Exclude:
    - 'spec/rspec/core/world_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 21
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Layout/FirstArgumentIndentation:
  Exclude:
    - 'lib/rspec/core/bisect/fork_runner.rb'
    - 'lib/rspec/core/formatters/base_bisect_formatter.rb'
    - 'spec/integration/bisect_runners_spec.rb'
    - 'spec/rspec/core/bisect/coordinator_spec.rb'
    - 'spec/rspec/core/bisect/example_minimizer_spec.rb'
    - 'spec/rspec/core/bisect/server_spec.rb'
    - 'spec/rspec/core/bisect/shell_command_spec.rb'
    - 'spec/rspec/core/bisect/utilities_spec.rb'
    - 'spec/rspec/core/configuration_options_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/hooks_spec.rb'
    - 'spec/rspec/core/notifications_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

# Offense count: 65
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/HashAlignment:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: normal, indented_internal_methods
Layout/IndentationConsistency:
  Exclude:
    - 'spec/rspec/core/metadata_filter_spec.rb'
    - 'spec/support/aruba_support.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: Width, IgnoredPatterns.
Layout/IndentationWidth:
  Exclude:
    - 'benchmarks/respond_to_v_defined.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core_spec.rb'
    - 'spec/support/aruba_support.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
  Exclude:
    - 'spec/rspec/core/formatters/progress_formatter_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'

# Offense count: 68
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
  Max: 172

# Offense count: 8
# Cop supports --auto-correct.
Layout/MultilineBlockLayout:
  Exclude:
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/metadata_filter_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Layout/RescueEnsureAlignment:
  Exclude:
    - 'lib/rspec/core/runner.rb'

# Offense count: 49
# Cop supports --auto-correct.
Layout/SpaceAfterComma:
  Exclude:
    - 'spec/rspec/core/backtrace_formatter_spec.rb'
    - 'spec/rspec/core/configuration_options_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/drb_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/filter_manager_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/metadata_filter_spec.rb'
    - 'spec/rspec/core/option_parser_spec.rb'

# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
  Exclude:
    - 'benchmarks/singleton_example_groups/helper.rb'
    - 'spec/rspec/core/bisect/coordinator_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/example_status_persister_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 2
# Cop supports --auto-correct.
Layout/SpaceAroundKeyword:
  Exclude:
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'

# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceBeforeBlockBraces:
  Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Layout/SpaceBeforeFirstArg:
  Exclude:
    - 'spec/rspec/core/drb_spec.rb'

# Offense count: 58
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideArrayLiteralBrackets:
  Exclude:
    - 'spec/rspec/core/bisect/shell_command_spec.rb'
    - 'spec/rspec/core/configuration_options_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/example_status_persister_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/formatters/snippet_extractor_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'
    - 'spec/rspec/core/notifications_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'
    - 'spec/rspec/core/suite_hooks_spec.rb'

# Offense count: 81
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
  Exclude:
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/drb_spec.rb'
    - 'spec/rspec/core/filter_manager_spec.rb'
    - 'spec/rspec/core/hooks_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/metadata_filter_spec.rb'
    - 'spec/rspec/core/runner_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
  Exclude:
    - 'benchmarks/eager_vs_lazy_metadata/define_examples.rb'
    - 'features/support/send_sigint_during_bisect.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/rspec_matchers_spec.rb'
    - 'spec/rspec/core_spec.rb'

# Offense count: 16
Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'benchmarks/threadsafe_let_block.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/example_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/formatters/syntax_highlighter_spec.rb'
    - 'spec/rspec/core/formatters_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/option_parser_spec.rb'
    - 'spec/rspec/core/world_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/AmbiguousOperator:
  Exclude:
    - 'benchmarks/threadsafe_let_block.rb'

# Offense count: 15
# Cop supports --auto-correct.
Lint/AmbiguousRegexpLiteral:
  Exclude:
    - 'features/step_definitions/additional_cli_steps.rb'

# Offense count: 2
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'benchmarks/index_v_take_while.rb'
    - 'spec/rspec/core/metadata_spec.rb'

# Offense count: 2
Lint/BinaryOperatorWithIdenticalOperands:
  Exclude:
    - 'spec/rspec/core/example_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/BooleanSymbol:
  Exclude:
    - 'spec/rspec/core/example_group_spec.rb'

# Offense count: 13
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
  Exclude:
    - 'spec/integration/bisect_spec.rb'
    - 'spec/rspec/core/bisect/example_minimizer_spec.rb'
    - 'spec/rspec/core/bisect/utilities_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/drb_spec.rb'
    - 'spec/rspec/core/filterable_item_repository_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/hooks_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'

# Offense count: 1
Lint/DuplicateRequire:
  Exclude:
    - 'benchmarks/hash_functions.rb'

# Offense count: 10
# Configuration parameters: AllowComments.
Lint/EmptyFile:
  Exclude:
    - 'spec/rspec/core/resources/a_bar.rb'
    - 'spec/rspec/core/resources/a_foo.rb'
    - 'spec/rspec/core/resources/acceptance/bar.rb'
    - 'spec/rspec/core/resources/acceptance/foo_spec.rb'
    - 'spec/support/fake_libs/coderay.rb'
    - 'spec/support/fake_libs/drb/acl.rb'
    - 'spec/support/fake_libs/drb/drb.rb'
    - 'spec/support/fake_libs/json.rb'
    - 'spec/support/fake_libs/minitest.rb'
    - 'spec/support/fake_libs/rake.rb'

# Offense count: 2
Lint/FloatComparison:
  Exclude:
    - 'features/support/ruby_27_support.rb'
    - 'lib/rspec/core/formatters/helpers.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: runtime_error, standard_error
Lint/InheritException:
  Exclude:
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/support/fake_libs/rspec/expectations.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/InterpolationCheck:
  Exclude:
    - 'spec/rspec/core/bisect/shell_command_spec.rb'
    - 'spec/rspec/core/rake_task_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/RedundantCopDisableDirective:
  Exclude:
    - 'lib/rspec/core/formatters/html_snippet_extractor.rb'
    - 'lib/rspec/core/formatters/syntax_highlighter.rb'

# Offense count: 2
# Cop supports --auto-correct.
Lint/RedundantCopEnableDirective:
  Exclude:
    - 'lib/rspec/core/formatters/html_printer.rb'
    - 'lib/rspec/core/formatters/html_snippet_extractor.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/RedundantStringCoercion:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/SendWithMixinArgument:
  Exclude:
    - 'lib/rspec/core/configuration.rb'

# Offense count: 1
Lint/ShadowingOuterLocalVariable:
  Exclude:
    - 'benchmarks/hash_functions.rb'

# Offense count: 1
Lint/StructNewOverride:
  Exclude:
    - 'lib/rspec/core/notifications.rb'

# Offense count: 1
# Configuration parameters: AllowComments.
Lint/SuppressedException:
  Exclude:
    - 'lib/rspec/core/example.rb'
    - 'lib/rspec/core/mocking_adapters/mocha.rb'
    - 'lib/rspec/core/runner.rb'
    - 'lib/rspec/core/test_unit_assertions_adapter.rb'
    - 'script/rspec_with_simplecov'

# Offense count: 25
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
  Exclude:
    - 'features/support/env.rb'
    - 'features/support/jruby.rb'
    - 'features/support/rubinius.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/formatters/json_formatter_spec.rb'
    - 'spec/rspec/core/invocations_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/metadata_filter_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'
    - 'spec/rspec/core/notifications_spec.rb'
    - 'spec/rspec/core/rake_task_spec.rb'
    - 'spec/rspec/core/reporter_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
  Exclude:
    - 'benchmarks/capture_block_vs_yield.rb'
    - 'spec/integration/filtering_spec.rb'
    - 'spec/rspec/core/formatters/snippet_extractor_spec.rb'

# Offense count: 1
Lint/UselessAssignment:
  Exclude:
    - 'benchmarks/hash_functions.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowComments.
Lint/UselessMethodDefinition:
  Exclude:
    - 'spec/rspec/core/rspec_matchers_spec.rb'

# Offense count: 4
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
  Exclude:
    - 'benchmarks/keys_each_vs_each_key.rb'
    - 'spec/rspec/core/example_group_spec.rb'

# Offense count: 1
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
  Max: 283

# Offense count: 32
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
  Max: 2373

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
  Max: 134

# Offense count: 32
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
  Max: 2351

# Offense count: 1
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
  Max: 6

# Offense count: 4
# Configuration parameters: AsciiConstants.
Naming/AsciiIdentifiers:
  Exclude:
    - 'spec/rspec/core/resources/utf8_encoded.rb'

# Offense count: 6
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
  Exclude:
    - 'lib/rspec/core/example_group.rb'
    - 'lib/rspec/core/example_status_persister.rb'
    - 'lib/rspec/core/notifications.rb'
    - 'lib/rspec/core/ruby_project.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 1
# Configuration parameters: IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
  EnforcedStyle: snake_case
  Exclude:
    - 'spec/rspec/core/drb_spec.rb'

# Offense count: 14
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
  Exclude:
    - 'benchmarks/capture_block_vs_yield.rb'
    - 'lib/rspec/core/example.rb'
    - 'lib/rspec/core/formatters/exception_presenter.rb'
    - 'spec/rspec/core/example_status_persister_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/hooks_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/ordering_spec.rb'
    - 'spec/support/formatter_support.rb'
    - 'spec/support/helper_methods.rb'

# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: PreferredName.
Naming/RescuedExceptionsVariableName:
  Exclude:
    - 'lib/rspec/core/configuration.rb'
    - 'lib/rspec/core/example.rb'
    - 'lib/rspec/core/example_group.rb'
    - 'lib/rspec/core/formatters/exception_presenter.rb'
    - 'lib/rspec/core/hooks.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/formatters/snippet_extractor_spec.rb'
    - 'spec/rspec/core/notifications_spec.rb'

# Offense count: 1
Security/Eval:
  Exclude:
    - 'Gemfile'

# Offense count: 7
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
# SupportedStyles: inline, group
Style/AccessModifierDeclarations:
  Exclude:
    - 'lib/rspec/core/flat_map.rb'
    - 'lib/rspec/core/ruby_project.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
  Exclude:
    - 'spec/rspec/core/bisect/example_minimizer_spec.rb'

# Offense count: 1
# Configuration parameters: AllowedChars.
# AllowedChars: ©
Style/AsciiComments:
  Exclude:
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'

# Offense count: 4
# Cop supports --auto-correct.
Style/CaseLikeIf:
  Exclude:
    - 'lib/rspec/core/hooks.rb'
    - 'lib/rspec/core/option_parser.rb'
    - 'spec/rspec/core/bisect/shell_runner_spec.rb'

# Offense count: 43
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
  Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: ==, equal?, eql?
Style/ClassEqualityComparison:
  Exclude:
    - 'lib/rspec/core/formatters.rb'

# Offense count: 1
Style/ClassVars:
  Exclude:
    - 'benchmarks/singleton_example_groups/helper.rb'

# Offense count: 7
# Cop supports --auto-correct.
Style/ColonMethodCall:
  Exclude:
    - 'spec/rspec/core/drb_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'
    - 'spec/rspec/core_spec.rb'

# Offense count: 3
Style/CombinableLoops:
  Exclude:
    - 'benchmarks/singleton_example_groups/helper.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
  Exclude:
    - 'lib/rspec/core/shell_escape.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/Dir:
  Exclude:
    - 'spec/support/spec_files.rb'

# Offense count: 7
# Cop supports --auto-correct.
Style/Encoding:
  Exclude:
    - 'lib/rspec/core/formatters/exception_presenter.rb'
    - 'rspec-core.gemspec'
    - 'spec/rspec/core/example_group_constants_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/formatters/exception_presenter_spec.rb'
    - 'spec/rspec/core/formatters/html_formatter_spec.rb'
    - 'spec/rspec/core/resources/utf8_encoded.rb'

# Offense count: 21
# Cop supports --auto-correct.
Style/EvalWithLocation:
  Exclude:
    - 'benchmarks/call_v_yield.rb'
    - 'spec/rspec/core/filter_manager_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'
    - 'spec/rspec/core/world_spec.rb'

# Offense count: 13
# Cop supports --auto-correct.
Style/ExpandPathArguments:
  Exclude:
    - 'Gemfile'
    - 'benchmarks/allocations/helper.rb'
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'lib/rspec/core.rb'
    - 'lib/rspec/core/project_initializer.rb'
    - 'lib/rspec/core/rake_task.rb'
    - 'rspec-core.gemspec'
    - 'script/rspec_with_simplecov'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/rake_task_spec.rb'
    - 'spec/rspec/core_spec.rb'

# Offense count: 16
# Cop supports --auto-correct.
Style/ExplicitBlockArgument:
  Exclude:
    - 'benchmarks/allocations/helper.rb'
    - 'benchmarks/capture_block_vs_yield.rb'
    - 'benchmarks/flat_map_vs_inject.rb'
    - 'benchmarks/map_then_flatten_vs_flat_map_benchmarks.rb'
    - 'benchmarks/several_regexps_v_one_big_one.rb'
    - 'benchmarks/to_proc_v_not_to_proc.rb'
    - 'lib/rspec/core/configuration.rb'
    - 'lib/rspec/core/example.rb'
    - 'lib/rspec/core/hooks.rb'
    - 'lib/rspec/core/ordering.rb'
    - 'spec/rspec/core/configuration/only_failures_support_spec.rb'
    - 'spec/rspec/core/drb_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: left_coerce, right_coerce, single_coerce, fdiv
Style/FloatDivision:
  Exclude:
    - 'lib/rspec/core/formatters/html_formatter.rb'

# Offense count: 224
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
  Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/GlobalStdStream:
  Exclude:
    - 'spec/rspec/core/configuration_spec.rb'

# Offense count: 20
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
  Exclude:
    - 'benchmarks/map_then_flatten_vs_flat_map_benchmarks.rb'
    - 'benchmarks/several_regexps_v_one_big_one.rb'
    - 'benchmarks/shuffle_vs_sort_by_for_random_ordering.rb'
    - 'benchmarks/to_proc_v_not_to_proc.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'
    - 'spec/spec_helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/HashEachMethods:
  Exclude:
    - 'benchmarks/keys_each_vs_each_key.rb'

# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
Style/HashSyntax:
  Exclude:
    - 'benchmarks/allocations/helper.rb'
    - 'benchmarks/allocations/running_1000_groups_1_example.rb'
    - 'benchmarks/allocations/running_1_group_1000_examples.rb'
    - 'benchmarks/singleton_example_groups/helper.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
  Exclude:
    - 'spec/spec_helper.rb'

# Offense count: 9
# Cop supports --auto-correct.
Style/LineEndConcatenation:
  Exclude:
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/option_parser_spec.rb'

# Offense count: 37
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
  Exclude:
    - 'spec/rspec/core/configuration_options_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/metadata_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
Style/MethodDefParentheses:
  Exclude:
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/json_formatter_spec.rb'
    - 'spec/rspec/core/formatters/profile_formatter_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 1
Style/MultilineBlockChain:
  Exclude:
    - 'spec/rspec/core/invocations_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: both, prefix, postfix
Style/NegatedIf:
  Exclude:
    - 'features/step_definitions/additional_cli_steps.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
  Exclude:
    - 'spec/integration/persistence_failures_spec.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: Strict.
Style/NumericLiterals:
  MinDigits: 11

# Offense count: 7
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
  Exclude:
    - 'lib/rspec/core/formatters/bisect_progress_formatter.rb'
    - 'lib/rspec/core/metadata.rb'
    - 'lib/rspec/core/option_parser.rb'
    - 'lib/rspec/core/output_wrapper.rb'
    - 'lib/rspec/core/runner.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 33
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
  Exclude:
    - 'benchmarks/filter_object.rb'
    - 'benchmarks/several_regexps_v_one_big_one.rb'
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'spec/rspec/core/drb_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/rake_task_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
Style/PerlBackrefs:
  Exclude:
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'spec/spec_helper.rb'
    - 'spec/support/aruba_support.rb'
    - 'spec/support/formatter_support.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/RandomWithOffset:
  Exclude:
    - 'spec/integration/spec_file_load_errors_spec.rb'
    - 'spec/integration/suite_hooks_errors_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantAssignment:
  Exclude:
    - 'spec/rspec/core/resources/utf8_encoded.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/RedundantCapitalW:
  Exclude:
    - 'spec/integration/bisect_spec.rb'
    - 'spec/rspec/core/bisect/shell_command_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: SafeForConstants.
Style/RedundantFetchBlock:
  Exclude:
    - 'spec/rspec/core/example_execution_result_spec.rb'
    - 'spec/rspec/core/ordering_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantInterpolation:
  Exclude:
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'

# Offense count: 23
# Cop supports --auto-correct.
Style/RedundantPercentQ:
  Exclude:
    - 'benchmarks/filter_object.rb'
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/support/spec_files.rb'

# Offense count: 11
# Cop supports --auto-correct.
Style/RedundantRegexpEscape:
  Exclude:
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'lib/rspec/core/configuration.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/formatters/profile_formatter_spec.rb'
    - 'spec/rspec/core/notifications_spec.rb'

# Offense count: 11
# Cop supports --auto-correct.
Style/RedundantSelf:
  Exclude:
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'

# Offense count: 3
# Cop supports --auto-correct.
Style/RescueModifier:
  Exclude:
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/reporter_spec.rb'

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
  Exclude:
    - 'lib/rspec/core/configuration_options.rb'
    - 'lib/rspec/core/drb.rb'
    - 'lib/rspec/core/example.rb'
    - 'lib/rspec/core/rake_task.rb'
    - 'lib/rspec/core/runner.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/SelfAssignment:
  Exclude:
    - 'spec/rspec/core/hooks_spec.rb'

# Offense count: 59
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
  Exclude:
    - 'benchmarks/keys_each_vs_each_key.rb'
    - 'benchmarks/threadsafe_let_block.rb'
    - 'spec/rspec/core/aggregate_failures_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/example_spec.rb'
    - 'spec/rspec/core/filter_manager_spec.rb'
    - 'spec/rspec/core/formatters/json_formatter_spec.rb'
    - 'spec/rspec/core/hooks_filtering_spec.rb'
    - 'spec/rspec/core/hooks_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'

# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
  Exclude:
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/shared_example_group_spec.rb'
    - 'spec/support/fake_libs/rspec/expectations.rb'
    - 'spec/support/fake_libs/rspec/mocks.rb'

# Offense count: 42
# Cop supports --auto-correct.
Style/StringConcatenation:
  Exclude:
    - 'features/step_definitions/additional_cli_steps.rb'
    - 'features/step_definitions/core_standalone_steps.rb'
    - 'lib/rspec/core/bisect/utilities.rb'
    - 'lib/rspec/core/did_you_mean.rb'
    - 'lib/rspec/core/example_group.rb'
    - 'lib/rspec/core/notifications.rb'
    - 'lib/rspec/core/option_parser.rb'
    - 'script/console'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/did_you_mean_spec.rb'
    - 'spec/rspec/core/formatters/base_text_formatter_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/option_parser_spec.rb'
    - 'spec/support/spec_files.rb'

# Offense count: 1
# Cop supports --auto-correct.
# 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:
    - 'benchmarks/define_method_v_attr_reader_v_def.rb'

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
  Exclude:
    - 'spec/integration/order_spec.rb'
    - 'spec/rspec/core/configuration_options_spec.rb'
    - 'spec/rspec/core/configuration_spec.rb'
    - 'spec/rspec/core/example_group_spec.rb'
    - 'spec/rspec/core/formatters/snippet_extractor_spec.rb'
    - 'spec/rspec/core/memoized_helpers_spec.rb'
    - 'spec/rspec/core/shared_context_spec.rb'
