# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-09-17 06:55:33 UTC using RuboCop version 0.93.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. # Offense count: 165 # Cop supports --auto-correct. CodeReuse/ActiveRecord: Enabled: false # Offense count: 2 # Cop supports --auto-correct. Cop/LineBreakAroundConditionalBlock: Exclude: - 'lib/gitlab/qa/release.rb' - 'lib/gitlab/qa/runtime/env.rb' # Offense count: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'gitlab-qa.gemspec' # Offense count: 1 Lint/ConstantDefinitionInBlock: Exclude: - 'spec/gitlab/qa/scenario/test/instance/deployment_base_spec.rb' # Offense count: 5 Lint/MixedRegexpCaptureTypes: Exclude: - 'lib/gitlab/qa/release.rb' - 'lib/gitlab/qa/report/relate_failure_issue.rb' - 'lib/gitlab/qa/report/update_screenshot_path.rb' # Offense count: 2 # Cop supports --auto-correct. Lint/RedundantCopDisableDirective: Exclude: - 'lib/gitlab/qa/component/staging.rb' - 'lib/gitlab/qa/runtime/scenario.rb' # Offense count: 10 # Configuration parameters: IgnoredMethods. Metrics/AbcSize: Max: 26 IgnoredMethods: - perform # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'lib/gitlab/qa/component/staging.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/RegexpMatch: Exclude: - 'lib/gitlab/qa/component/gitlab.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect. Performance/StringInclude: Exclude: - 'lib/gitlab/qa/component/gitlab.rb' # Offense count: 3 # Cop supports --auto-correct. RSpec/EmptyLineAfterLetBlock: Exclude: - 'spec/gitlab/qa/support/dev_eeqa_image_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: CustomTransform, IgnoredWords. RSpec/ExampleWording: Exclude: - 'spec/gitlab/qa/component/gitlab_spec.rb' # Offense count: 2 RSpec/LeakyConstantDeclaration: Exclude: - 'spec/gitlab/qa/scenario/test/instance/deployment_base_spec.rb' # Offense count: 221 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 22 # Offense count: 1 # Cop supports --auto-correct. Style/ExplicitBlockArgument: Exclude: - 'lib/gitlab/qa/scenario/test/integration/ldap.rb' # Offense count: 86 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/HashTransformKeys: Exclude: - 'lib/gitlab/qa/docker/volumes.rb' # Offense count: 1 # Cop supports --auto-correct. Style/HashTransformation: Exclude: - 'lib/gitlab/qa/docker/volumes.rb' # Offense count: 3 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/gitlab/qa/runtime/env.rb' - 'lib/gitlab/qa/runtime/scenario.rb' - 'lib/gitlab/qa/scenario/test/omnibus/upgrade.rb' # Offense count: 1 Style/MissingRespondToMissing: Exclude: - 'lib/gitlab/qa/runtime/scenario.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'db/migrate/**/*' - 'db/post_migrate/**/*' - 'db/geo/migrate/**/*' - 'lib/gitlab/qa/release.rb' - 'lib/gitlab/qa/report/update_screenshot_path.rb' # Offense count: 9 # Cop supports --auto-correct. Style/RedundantRegexpEscape: Exclude: - 'lib/gitlab/qa/release.rb' - 'lib/gitlab/qa/report/generate_test_session.rb' - 'lib/gitlab/qa/report/relate_failure_issue.rb' - 'lib/gitlab/qa/report/update_screenshot_path.rb' # Offense count: 1 # Cop supports --auto-correct. Style/StringConcatenation: Exclude: - 'lib/gitlab/qa/reporter.rb' # Offense count: 126 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 192