2016-06-29 12:00:22 -04:00
|
|
|
# This configuration was generated by
|
2017-09-19 11:25:42 -04:00
|
|
|
# `rubocop --auto-gen-config`
|
2020-05-28 17:08:22 -04:00
|
|
|
# on 2020-05-20 16:32:14 -0400 using RuboCop version 0.82.0.
|
2016-06-29 12:00:22 -04:00
|
|
|
# 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.
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 308
|
2020-01-20 04:08:32 -05:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
Capybara/CurrentPathExpectation:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 1715
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
|
|
# SupportedStyles: with_first_argument, with_fixed_indentation
|
2020-05-28 17:08:22 -04:00
|
|
|
Layout/ArgumentAlignment:
|
2019-05-03 00:40:40 -04:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 13
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/ClosingHeredocIndentation:
|
|
|
|
Exclude:
|
|
|
|
- 'app/graphql/mutations/merge_requests/set_wip.rb'
|
|
|
|
- 'ee/db/geo/migrate/20180322062741_migrate_ci_job_artifacts_to_separate_registry.rb'
|
|
|
|
- 'ee/lib/gitlab/geo/health_check.rb'
|
|
|
|
- 'lib/gitlab/background_migration/populate_untracked_uploads.rb'
|
|
|
|
- 'spec/features/merge_request/user_sees_diff_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/asciidoc_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/checks/project_moved_spec.rb'
|
|
|
|
- 'spec/rubocop/cop/active_record_association_reload_spec.rb'
|
|
|
|
- 'spec/services/task_list_toggle_service_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 13
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/ClosingParenthesisIndentation:
|
|
|
|
Exclude:
|
|
|
|
- 'db/post_migrate/20180704145007_update_project_indexes.rb'
|
|
|
|
- 'ee/db/geo/migrate/20180405074130_add_partial_index_project_repository_verification.rb'
|
|
|
|
- 'spec/services/issues/resolve_discussions_spec.rb'
|
|
|
|
- 'spec/services/projects/update_service_spec.rb'
|
|
|
|
- 'spec/support/helpers/stub_object_storage.rb'
|
|
|
|
- 'spec/workers/remove_unreferenced_lfs_objects_worker_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 72
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/EmptyLinesAroundArguments:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/concerns/discussion_on_diff.rb'
|
|
|
|
- 'app/models/concerns/resolvable_discussion.rb'
|
|
|
|
- 'app/models/diff_discussion.rb'
|
|
|
|
- 'app/models/discussion.rb'
|
|
|
|
- 'ee/spec/models/geo/project_registry_spec.rb'
|
|
|
|
- 'lib/banzai/pipeline/broadcast_message_pipeline.rb'
|
|
|
|
- 'lib/banzai/pipeline/gfm_pipeline.rb'
|
|
|
|
- 'lib/banzai/pipeline/single_line_pipeline.rb'
|
|
|
|
- 'spec/features/markdown/copy_as_gfm_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 413
|
2017-07-09 11:05:21 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
2017-07-09 11:05:21 -04:00
|
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
2020-05-28 17:08:22 -04:00
|
|
|
Layout/FirstArrayElementIndentation:
|
2017-07-09 11:05:21 -04:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 1218
|
2017-07-09 11:05:21 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
2017-07-09 11:05:21 -04:00
|
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
2020-05-28 17:08:22 -04:00
|
|
|
Layout/FirstHashElementIndentation:
|
2019-05-03 00:40:40 -04:00
|
|
|
Enabled: false
|
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 4
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
|
|
# SupportedStyles: consistent, align_parentheses
|
2020-05-28 17:08:22 -04:00
|
|
|
Layout/FirstParameterIndentation:
|
2019-05-03 00:40:40 -04:00
|
|
|
Exclude:
|
|
|
|
- 'lib/gitlab/cross_project_access.rb'
|
|
|
|
- 'lib/gitlab/data_builder/push.rb'
|
|
|
|
- 'spec/support/helpers/repo_helpers.rb'
|
|
|
|
- 'spec/support/helpers/stub_object_storage.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 2164
|
|
|
|
# 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: 9396
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
|
|
# URISchemes: http, https
|
|
|
|
Layout/LineLength:
|
|
|
|
Max: 1313
|
|
|
|
|
|
|
|
# Offense count: 94
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
|
|
# SupportedStyles: aligned, indented
|
|
|
|
Layout/MultilineOperationIndentation:
|
2017-07-09 11:05:21 -04:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 9
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/RescueEnsureAlignment:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/blob_viewer/dependency_manager.rb'
|
|
|
|
- 'app/models/project.rb'
|
|
|
|
- 'app/services/prometheus/proxy_service.rb'
|
|
|
|
- 'app/workers/delete_stored_files_worker.rb'
|
|
|
|
- 'config/initializers/1_settings.rb'
|
|
|
|
- 'config/initializers/trusted_proxies.rb'
|
|
|
|
- 'lib/gitlab/background_migration/archive_legacy_traces.rb'
|
|
|
|
- 'lib/gitlab/highlight.rb'
|
|
|
|
- 'lib/tasks/gitlab/lfs/migrate.rake'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 36
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Layout/SpaceAroundMethodCallOperator:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 2
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowForAlignment.
|
|
|
|
Layout/SpaceBeforeFirstArg:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/requests/api/runner_spec.rb'
|
|
|
|
- 'spec/support/shared_examples/requests/api/custom_attributes_shared_examples.rb'
|
|
|
|
|
|
|
|
# Offense count: 642
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2017-07-09 11:05:21 -04:00
|
|
|
# SupportedStyles: require_no_space, require_space
|
|
|
|
Layout/SpaceInLambdaLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 926
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
2017-07-09 11:05:21 -04:00
|
|
|
# SupportedStyles: space, no_space
|
|
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
|
|
Layout/SpaceInsideBlockBraces:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 401
|
2017-07-09 11:05:21 -04:00
|
|
|
# Cop supports --auto-correct.
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: space, no_space
|
2017-07-09 11:05:21 -04:00
|
|
|
Layout/SpaceInsideParens:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-05-03 00:40:40 -04:00
|
|
|
# Offense count: 19
|
2017-09-19 11:25:42 -04:00
|
|
|
Lint/DuplicateMethods:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/commit.rb'
|
|
|
|
- 'app/models/note.rb'
|
|
|
|
- 'lib/bitbucket/representation/repo.rb'
|
|
|
|
- 'lib/declarative_policy/base.rb'
|
2019-05-03 00:40:40 -04:00
|
|
|
- 'lib/gitlab/auth/ldap/person.rb'
|
|
|
|
- 'lib/gitlab/auth/o_auth/user.rb'
|
2017-09-19 11:25:42 -04:00
|
|
|
- 'lib/gitlab/ci/build/artifacts/metadata/entry.rb'
|
|
|
|
- 'lib/gitlab/cycle_analytics/base_event_fetcher.rb'
|
|
|
|
- 'lib/gitlab/diff/formatters/base_formatter.rb'
|
|
|
|
- 'lib/gitlab/git/blob.rb'
|
|
|
|
- 'lib/gitlab/git/repository.rb'
|
|
|
|
- 'lib/gitlab/git/tree.rb'
|
|
|
|
- 'lib/gitlab/git/wiki_page.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 157
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: MaximumRangeSize.
|
|
|
|
Lint/MissingCopEnableDirective:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 11
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Lint/NonDeterministicRequireOrder:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/spec/spec_helper.rb'
|
|
|
|
- 'qa/spec/spec_helper.rb'
|
|
|
|
- 'spec/spec_helper.rb'
|
|
|
|
|
|
|
|
# Offense count: 3
|
|
|
|
# Configuration parameters: AllowedImplicitNamespaces.
|
|
|
|
# AllowedImplicitNamespaces: Gem
|
|
|
|
Lint/RaiseException:
|
|
|
|
Exclude:
|
|
|
|
- 'db/migrate/20190402150158_backport_enterprise_schema.rb'
|
|
|
|
- 'ee/spec/requests/api/helpers_spec.rb'
|
|
|
|
- 'spec/requests/api/helpers_spec.rb'
|
|
|
|
|
|
|
|
# Offense count: 27
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Lint/RedundantCopDisableDirective:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Lint/SendWithMixinArgument:
|
|
|
|
Exclude:
|
|
|
|
- 'config/initializers/trusted_proxies.rb'
|
|
|
|
|
|
|
|
# Offense count: 3
|
|
|
|
Lint/StructNewOverride:
|
|
|
|
Exclude:
|
|
|
|
- 'app/presenters/sentry_error_presenter.rb'
|
|
|
|
- 'app/serializers/environment_serializer.rb'
|
|
|
|
- 'lib/gitlab/ci/pipeline/duration.rb'
|
|
|
|
|
|
|
|
# Offense count: 7
|
2017-09-19 11:25:42 -04:00
|
|
|
Lint/UriEscapeUnescape:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/application_controller.rb'
|
|
|
|
- 'app/models/project_services/drone_ci_service.rb'
|
|
|
|
- 'spec/lib/google_api/auth_spec.rb'
|
|
|
|
- 'spec/requests/api/files_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 3
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
2020-05-28 17:08:22 -04:00
|
|
|
Lint/UriRegexp:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/concerns/mentionable/reference_regexes.rb'
|
|
|
|
- 'app/services/projects/download_service.rb'
|
|
|
|
- 'lib/gitlab/ci/pipeline/chain/config/content/remote.rb'
|
|
|
|
|
|
|
|
# Offense count: 65
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Migration/DepartmentName:
|
|
|
|
Enabled: false
|
2019-05-03 00:40:40 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 156
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
|
|
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
|
|
Naming/FileName:
|
|
|
|
Enabled: false
|
2018-01-18 12:45:05 -05:00
|
|
|
|
2017-09-19 11:25:42 -04:00
|
|
|
# Offense count: 11
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: lowercase, uppercase
|
|
|
|
Naming/HeredocDelimiterCase:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/lib/gitlab/diff/parser_spec.rb'
|
|
|
|
- 'spec/lib/json_web_token/rsa_token_spec.rb'
|
|
|
|
- 'spec/models/commit_spec.rb'
|
2018-03-29 05:47:54 -04:00
|
|
|
- 'spec/support/helpers/repo_helpers.rb'
|
|
|
|
- 'spec/support/helpers/seed_repo.rb'
|
2017-09-19 11:25:42 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 239
|
|
|
|
# Configuration parameters: ForbiddenDelimiters.
|
|
|
|
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
2017-09-19 11:25:42 -04:00
|
|
|
Naming/HeredocDelimiterNaming:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 5
|
|
|
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
|
|
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
|
|
|
Naming/MethodParameterName:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/gitlab/diff/inline_diff.rb'
|
|
|
|
- 'spec/support/helpers/key_generator_helper.rb'
|
|
|
|
|
|
|
|
# Offense count: 162
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: PreferredName.
|
|
|
|
Naming/RescuedExceptionsVariableName:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 20
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Performance/Count:
|
|
|
|
Exclude:
|
|
|
|
- 'app/helpers/groups_helper.rb'
|
|
|
|
- 'app/services/merge_requests/add_context_service.rb'
|
|
|
|
- 'ee/lib/gitlab/geo/fdw.rb'
|
|
|
|
- 'ee/lib/gitlab/graphql/aggregations/epics/epic_node.rb'
|
|
|
|
- 'ee/spec/controllers/projects/feature_flags_controller_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/feature_flags_spec.rb'
|
|
|
|
- 'lib/gitlab/sidekiq_status.rb'
|
|
|
|
- 'spec/lib/gitlab/conflict/file_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/git/tree_spec.rb'
|
|
|
|
- 'spec/models/ci/build_spec.rb'
|
|
|
|
- 'spec/support/matchers/exceed_query_limit.rb'
|
|
|
|
|
|
|
|
# Offense count: 25
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Performance/Detect:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/spec/controllers/projects/dependencies_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/feature_flags_controller_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/unleash_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/git/tree_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/project/tree_restorer_spec.rb'
|
|
|
|
- 'spec/models/event_spec.rb'
|
|
|
|
- 'spec/requests/api/jobs_spec.rb'
|
|
|
|
|
|
|
|
# Offense count: 11832
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: Prefixes.
|
|
|
|
# Prefixes: when, with, without
|
|
|
|
RSpec/ContextWording:
|
2017-07-09 11:05:21 -04:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 1121
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
2018-01-18 12:45:05 -05:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: method_call, block
|
|
|
|
RSpec/ExpectChange:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 751
|
2017-09-19 11:25:42 -04:00
|
|
|
RSpec/ExpectInHook:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 9
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
2017-04-07 20:23:13 -04:00
|
|
|
# SupportedStyles: it_behaves_like, it_should_behave_like
|
|
|
|
RSpec/ItBehavesLike:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'spec/lib/gitlab/git/commit_spec.rb'
|
|
|
|
- 'spec/services/notification_service_spec.rb'
|
2017-04-07 20:23:13 -04:00
|
|
|
|
2019-05-03 00:40:40 -04:00
|
|
|
# Offense count: 68
|
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
RSpec/LetBeforeExamples:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/lib/banzai/filter/issue_reference_filter_spec.rb'
|
|
|
|
- 'spec/lib/banzai/filter/user_reference_filter_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/email/handler/create_issue_handler_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/email/handler/create_merge_request_handler_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/email/handler/create_note_handler_spec.rb'
|
|
|
|
- 'spec/models/commit_range_spec.rb'
|
|
|
|
- 'spec/models/milestone_spec.rb'
|
|
|
|
- 'spec/models/project_services/packagist_service_spec.rb'
|
|
|
|
- 'spec/rubocop/cop/migration/update_column_in_batches_spec.rb'
|
|
|
|
- 'spec/serializers/pipeline_details_entity_spec.rb'
|
2017-04-07 20:23:13 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 2188
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
2020-01-20 04:08:32 -05:00
|
|
|
# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
|
2017-09-19 11:25:42 -04:00
|
|
|
# SupportedStyles: inflected, explicit
|
|
|
|
RSpec/PredicateMatcher:
|
2017-02-22 13:43:48 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 635
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: and_return, block
|
|
|
|
RSpec/ReturnFromStub:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 518
|
2017-04-07 20:23:13 -04:00
|
|
|
RSpec/ScatteredLet:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 4
|
2017-02-22 13:43:48 -05:00
|
|
|
RSpec/ScatteredSetup:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'spec/requests/api/jobs_spec.rb'
|
2017-02-22 13:43:48 -05:00
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 10
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Rails/ApplicationController:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/acme_challenges_controller.rb'
|
|
|
|
- 'app/controllers/chaos_controller.rb'
|
|
|
|
- 'app/controllers/health_controller.rb'
|
|
|
|
- 'app/controllers/metrics_controller.rb'
|
|
|
|
- 'ee/app/controllers/oauth/geo_auth_controller.rb'
|
|
|
|
- 'ee/spec/helpers/ee/services_helper_spec.rb'
|
|
|
|
- 'lib/gitlab/base_doorkeeper_controller.rb'
|
|
|
|
- 'lib/gitlab/request_forgery_protection.rb'
|
|
|
|
- 'spec/controllers/concerns/continue_params_spec.rb'
|
|
|
|
- 'spec/lib/marginalia_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 3
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Rails/BelongsTo:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/deployment.rb'
|
|
|
|
- 'app/models/environment.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 71
|
|
|
|
# Configuration parameters: Database, Include.
|
|
|
|
# SupportedDatabases: mysql, postgresql
|
|
|
|
# Include: db/migrate/*.rb
|
|
|
|
Rails/BulkChangeTable:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 208
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: db/migrate/*.rb
|
|
|
|
Rails/CreateTableWithTimestamps:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 346
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: slashes, arguments
|
2017-02-22 13:43:48 -05:00
|
|
|
Rails/FilePath:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 264
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: app/models/**/*.rb
|
|
|
|
Rails/HasManyOrHasOneDependent:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 467
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: Include.
|
2020-01-20 04:08:32 -05:00
|
|
|
# Include: app/helpers/**/*.rb
|
|
|
|
Rails/HelperInstanceVariable:
|
|
|
|
Enabled: false
|
2019-05-03 00:40:40 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 15
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Rails/IndexBy:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/ci/pipeline.rb'
|
|
|
|
- 'app/services/ci/pipeline_processing/atomic_processing_service/status_collection.rb'
|
|
|
|
- 'ee/app/services/projects/update_mirror_service.rb'
|
|
|
|
- 'ee/app/services/security/store_report_service.rb'
|
|
|
|
- 'ee/lib/ee/gitlab/auth/ldap/sync/group.rb'
|
|
|
|
- 'ee/lib/ee/gitlab/background_migration/backfill_version_data_from_gitaly.rb'
|
|
|
|
- 'ee/lib/gitlab/analytics/type_of_work/tasks_by_type.rb'
|
|
|
|
- 'ee/lib/gitlab/elastic/document_reference.rb'
|
|
|
|
- 'ee/lib/gitlab/group_plans_preloader.rb'
|
|
|
|
- 'lib/gitlab/database/count/reltuples_count_strategy.rb'
|
|
|
|
- 'lib/gitlab/language_detection.rb'
|
|
|
|
|
|
|
|
# Offense count: 36
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Rails/IndexWith:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 105
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: app/models/**/*.rb
|
|
|
|
Rails/InverseOf:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 55
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: app/controllers/**/*.rb
|
|
|
|
Rails/LexicallyScopedActionFilter:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 3
|
2019-05-03 00:40:40 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Rails/LinkToBlank:
|
|
|
|
Exclude:
|
|
|
|
- 'app/helpers/projects_helper.rb'
|
|
|
|
- 'app/helpers/wiki_helper.rb'
|
|
|
|
- 'ee/app/helpers/ee/user_callouts_helper.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 34
|
2020-01-20 04:08:32 -05:00
|
|
|
# Configuration parameters: Include.
|
|
|
|
# Include: **/Rakefile, **/*.rake
|
|
|
|
Rails/RakeEnvironment:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 926
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: Blacklist, Whitelist.
|
2017-02-22 13:43:48 -05:00
|
|
|
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
|
|
|
|
Rails/SkipsModelValidations:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 8
|
2017-02-22 17:39:43 -05:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
Security/YAMLLoad:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/gitlab/redis/wrapper.rb'
|
|
|
|
- 'lib/system_check/incoming_email/imap_authentication_check.rb'
|
|
|
|
- 'spec/config/mail_room_spec.rb'
|
|
|
|
- 'spec/initializers/secret_token_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/prometheus/additional_metrics_parser_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 10
|
|
|
|
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
|
2019-05-03 00:40:40 -04:00
|
|
|
# SupportedStyles: inline, group
|
|
|
|
Style/AccessModifierDeclarations:
|
2020-05-28 17:08:22 -04:00
|
|
|
Exclude:
|
|
|
|
- 'app/helpers/issues_helper.rb'
|
|
|
|
- 'app/helpers/lazy_image_tag_helper.rb'
|
|
|
|
- 'lib/gitlab/cache/request_cache.rb'
|
|
|
|
- 'lib/gitlab/request_profiler.rb'
|
|
|
|
- 'spec/support/forgery_protection.rb'
|
2019-05-03 00:40:40 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 148
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2017-02-22 17:39:43 -05:00
|
|
|
# SupportedStyles: percent_q, bare_percent
|
|
|
|
Style/BarePercentLiterals:
|
|
|
|
Enabled: false
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2017-09-19 11:25:42 -04:00
|
|
|
# Offense count: 5
|
|
|
|
Style/CommentedKeyword:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/tasks/gitlab/backup.rake'
|
|
|
|
- 'spec/tasks/gitlab/backup_rake_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 5
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/EachWithObject:
|
|
|
|
Exclude:
|
|
|
|
- 'lib/expand_variables.rb'
|
|
|
|
- 'lib/gitlab/ci/ansi2html.rb'
|
|
|
|
- 'lib/gitlab/hook_data/issuable_builder.rb'
|
|
|
|
- 'lib/gitlab/i18n/po_linter.rb'
|
|
|
|
- 'lib/gitlab/import_export/members_mapper.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 46
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: empty, nil, both
|
|
|
|
Style/EmptyElse:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-05-03 00:40:40 -04:00
|
|
|
# Offense count: 11
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/EmptyLambdaParameter:
|
|
|
|
Exclude:
|
|
|
|
- 'app/models/ci/build.rb'
|
|
|
|
- 'app/models/ci/runner.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 7
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/EmptyLiteral:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'lib/gitlab/fogbugz_import/importer.rb'
|
|
|
|
- 'lib/gitlab/git/diff_collection.rb'
|
|
|
|
- 'lib/gitlab/gitaly_client.rb'
|
|
|
|
- 'spec/helpers/merge_requests_helper_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/workhorse_spec.rb'
|
|
|
|
- 'spec/requests/api/jobs_spec.rb'
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 170
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
2017-01-05 17:03:08 -05:00
|
|
|
# SupportedStyles: compact, expanded
|
|
|
|
Style/EmptyMethod:
|
2016-07-13 14:39:14 -04:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 431
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: format, sprintf, percent
|
|
|
|
Style/FormatString:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 769
|
2016-07-03 16:18:39 -04:00
|
|
|
# Configuration parameters: MinBodyLength.
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 47
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/HashEachMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 6
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/HashTransformKeys:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/app/models/vulnerabilities/occurrence.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/ci/templates/dependency_scanning_gitlab_ci_yaml_spec.rb'
|
|
|
|
- 'lib/banzai/filter/commit_trailers_filter.rb'
|
|
|
|
- 'lib/gitlab/analytics/cycle_analytics/stage_events.rb'
|
|
|
|
|
|
|
|
# Offense count: 10
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/HashTransformValues:
|
|
|
|
Exclude:
|
|
|
|
- 'app/validators/addressable_url_validator.rb'
|
|
|
|
- 'config/initializers/action_dispatch_journey_formatter.rb'
|
|
|
|
- 'ee/app/helpers/compliance_management/compliance_framework/project_settings_helper.rb'
|
|
|
|
- 'ee/app/services/packages/nuget/metadata_extraction_service.rb'
|
|
|
|
- 'lib/gitlab/config/entry/configurable.rb'
|
|
|
|
- 'lib/gitlab/config/entry/node.rb'
|
|
|
|
- 'lib/gitlab/discussions_diff/file_collection.rb'
|
|
|
|
- 'lib/gitlab/error_tracking.rb'
|
|
|
|
- 'lib/rspec_flaky/flaky_examples_collection.rb'
|
|
|
|
- 'spec/lib/gitlab/database_importers/common_metrics/prometheus_metric_spec.rb'
|
|
|
|
|
|
|
|
# Offense count: 31
|
2020-01-20 04:08:32 -05:00
|
|
|
# Configuration parameters: AllowIfModifier.
|
2016-07-03 16:18:39 -04:00
|
|
|
Style/IfInsideElse:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 1313
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/IfUnlessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 377
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: line_count_dependent, lambda, literal
|
|
|
|
Style/Lambda:
|
2016-07-13 14:39:14 -04:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 17
|
2019-05-03 00:40:40 -04:00
|
|
|
Style/MethodMissingSuper:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-09-14 15:50:11 -04:00
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 17
|
2019-05-03 00:40:40 -04:00
|
|
|
Style/MissingRespondToMissing:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 5
|
2017-09-19 11:25:42 -04:00
|
|
|
Style/MixinUsage:
|
|
|
|
Exclude:
|
|
|
|
- 'spec/factories/ci/builds.rb'
|
|
|
|
- 'spec/factories/ci/job_artifacts.rb'
|
|
|
|
- 'spec/factories/lfs_objects.rb'
|
|
|
|
- 'spec/factories/notes.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/version_checker_spec.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 2
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/MultilineIfModifier:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'app/services/ci/process_pipeline_service.rb'
|
|
|
|
- 'lib/api/commit_statuses.rb'
|
2017-01-05 17:03:08 -05:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 29
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
|
|
Style/Next:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 89
|
2016-06-29 12:00:22 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedOctalStyle.
|
2016-06-29 12:00:22 -04:00
|
|
|
# SupportedOctalStyles: zero_with_o, zero_only
|
|
|
|
Style/NumericLiteralPrefix:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-02-21 19:04:05 -05:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 255
|
2016-09-14 15:50:11 -04:00
|
|
|
# Cop supports --auto-correct.
|
2019-05-03 00:40:40 -04:00
|
|
|
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
2016-09-14 15:50:11 -04:00
|
|
|
# SupportedStyles: predicate, comparison
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 117
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/ParallelAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 2035
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: PreferredDelimiters.
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-07-09 11:05:21 -04:00
|
|
|
# Offense count: 15
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/PerlBackrefs:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/projects/application_controller.rb'
|
|
|
|
- 'app/helpers/submodule_helper.rb'
|
|
|
|
- 'lib/backup/manager.rb'
|
|
|
|
- 'lib/banzai/filter/abstract_reference_filter.rb'
|
|
|
|
- 'lib/banzai/filter/autolink_filter.rb'
|
|
|
|
- 'lib/banzai/filter/emoji_filter.rb'
|
|
|
|
- 'lib/banzai/filter/gollum_tags_filter.rb'
|
|
|
|
- 'lib/expand_variables.rb'
|
|
|
|
- 'lib/gitlab/diff/highlight.rb'
|
|
|
|
- 'lib/gitlab/search_results.rb'
|
|
|
|
- 'lib/gitlab/sherlock/query.rb'
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 200
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: compact, exploded
|
|
|
|
Style/RaiseArgs:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 246
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantFreeze:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 123
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantInterpolation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 6
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantParentheses:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/app/models/ee/merge_request.rb'
|
|
|
|
|
|
|
|
# Offense count: 33
|
2017-01-05 17:03:08 -05:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
|
|
Style/RedundantReturn:
|
2020-05-28 17:08:22 -04:00
|
|
|
Enabled: false
|
2017-09-19 11:25:42 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 801
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantSelf:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 2
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RedundantSort:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/app/presenters/packages/nuget/search_results_presenter.rb'
|
|
|
|
- 'ee/spec/presenters/packages/nuget/search_results_presenter_spec.rb'
|
|
|
|
|
|
|
|
# Offense count: 120
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
|
|
Style/RegexpLiteral:
|
2019-05-03 00:40:40 -04:00
|
|
|
Enabled: false
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 46
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/RescueModifier:
|
2017-01-11 04:48:29 -05:00
|
|
|
Enabled: false
|
2016-10-04 07:28:01 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 286
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
|
|
# SupportedStyles: implicit, explicit
|
|
|
|
Style/RescueStandardError:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-01-20 04:08:32 -05:00
|
|
|
# Offense count: 4
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
Style/SelfAssignment:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'app/models/concerns/bulk_member_access_load.rb'
|
|
|
|
- 'app/serializers/base_serializer.rb'
|
|
|
|
- 'spec/support/import_export/configuration_helper.rb'
|
2016-07-03 16:18:39 -04:00
|
|
|
|
|
|
|
# Offense count: 50
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowIfMethodIsEmpty.
|
|
|
|
Style/SingleLineMethods:
|
2017-09-19 11:25:42 -04:00
|
|
|
Exclude:
|
|
|
|
- 'lib/gitlab/ci/ansi2html.rb'
|
2016-07-03 16:18:39 -04:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 102
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
2017-09-19 11:25:42 -04:00
|
|
|
# Configuration parameters: .
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: use_perl_names, use_english_names
|
|
|
|
Style/SpecialGlobalVars:
|
|
|
|
EnforcedStyle: use_perl_names
|
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 93
|
2017-09-19 11:25:42 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle.
|
2016-07-03 16:18:39 -04:00
|
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
|
|
Style/StringLiteralsInInterpolation:
|
2017-02-22 12:14:22 -05:00
|
|
|
Enabled: false
|
2017-01-11 04:48:29 -05:00
|
|
|
|
2020-05-28 17:08:22 -04:00
|
|
|
# Offense count: 233
|
2016-07-03 16:18:39 -04:00
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: IgnoredMethods.
|
|
|
|
# IgnoredMethods: respond_to, define_method
|
|
|
|
Style/SymbolProc:
|
|
|
|
Enabled: false
|
2020-06-09 17:08:21 -04:00
|
|
|
|
|
|
|
# Offense count: 1478
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: AllowImplicitReturn, AllowedReceivers.
|
|
|
|
Rails/SaveBang:
|
|
|
|
Exclude:
|
|
|
|
- 'ee/spec/controllers/groups/epic_issues_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/groups/epic_links_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/groups/epics_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/groups/roadmap_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/environments_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/issues_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/merge_requests/creations_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/merge_requests_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/service_desk_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/subscriptions_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/projects/vulnerability_feedback_controller_spec.rb'
|
|
|
|
- 'ee/spec/controllers/subscriptions_controller_spec.rb'
|
|
|
|
- 'ee/spec/factories/merge_requests.rb'
|
|
|
|
- 'ee/spec/features/admin/geo/admin_geo_nodes_spec.rb'
|
|
|
|
- 'ee/spec/features/boards/scoped_issue_board_spec.rb'
|
|
|
|
- 'ee/spec/features/ci_shared_runner_warnings_spec.rb'
|
|
|
|
- 'ee/spec/features/dashboards/operations_spec.rb'
|
|
|
|
- 'ee/spec/features/issues/gfm_autocomplete_ee_spec.rb'
|
|
|
|
- 'ee/spec/features/merge_request/user_approves_spec.rb'
|
|
|
|
- 'ee/spec/features/merge_requests/user_views_all_merge_requests_spec.rb'
|
|
|
|
- 'ee/spec/features/projects/members/invite_group_and_members_spec.rb'
|
|
|
|
- 'ee/spec/features/projects/merge_requests/user_approves_merge_request_spec.rb'
|
|
|
|
- 'ee/spec/features/projects/new_project_spec.rb'
|
|
|
|
- 'ee/spec/features/projects/settings/user_manages_approval_settings_spec.rb'
|
|
|
|
- 'ee/spec/features/projects/settings/user_manages_members_spec.rb'
|
|
|
|
- 'ee/spec/features/search/elastic/global_search_spec.rb'
|
|
|
|
- 'ee/spec/finders/epics_finder_spec.rb'
|
|
|
|
- 'ee/spec/frontend/fixtures/analytics.rb'
|
|
|
|
- 'ee/spec/helpers/application_helper_spec.rb'
|
|
|
|
- 'ee/spec/helpers/ee/issues_helper_spec.rb'
|
|
|
|
- 'ee/spec/initializers/fog_google_https_private_urls_spec.rb'
|
|
|
|
- 'ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/background_migration/move_epic_issues_after_epics_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/background_migration/populate_any_approval_rule_for_merge_requests_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/background_migration/populate_any_approval_rule_for_projects_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb'
|
|
|
|
- 'ee/spec/lib/ee/gitlab/ci/pipeline/quota/activity_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/auth/ldap/access_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/auth/o_auth/user_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/auth/saml/user_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/elastic/search_results_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/email/handler/ee/service_desk_handler_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/geo/jwt_request_decoder_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/geo/oauth/session_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/geo_spec.rb'
|
|
|
|
- 'ee/spec/lib/gitlab/git_access_spec.rb'
|
|
|
|
- 'ee/spec/mailers/notify_spec.rb'
|
|
|
|
- 'ee/spec/migrations/geo/migrate_ci_job_artifacts_to_separate_registry_spec.rb'
|
|
|
|
- 'ee/spec/migrations/geo/migrate_lfs_objects_to_separate_registry_spec.rb'
|
|
|
|
- 'ee/spec/migrations/schedule_project_any_approval_rule_migration_spec.rb'
|
|
|
|
- 'ee/spec/models/application_setting_spec.rb'
|
|
|
|
- 'ee/spec/models/approval_merge_request_rule_spec.rb'
|
|
|
|
- 'ee/spec/models/approval_state_spec.rb'
|
|
|
|
- 'ee/spec/models/burndown_spec.rb'
|
|
|
|
- 'ee/spec/models/ci/build_spec.rb'
|
|
|
|
- 'ee/spec/models/ci/pipeline_spec.rb'
|
|
|
|
- 'ee/spec/models/ci/subscriptions/project_spec.rb'
|
|
|
|
- 'ee/spec/models/concerns/deprecated_approvals_before_merge_spec.rb'
|
|
|
|
- 'ee/spec/models/concerns/elastic/note_spec.rb'
|
|
|
|
- 'ee/spec/models/ee/protected_branch_spec.rb'
|
|
|
|
- 'ee/spec/models/ee/protected_ref_access_spec.rb'
|
|
|
|
- 'ee/spec/models/ee/protected_ref_spec.rb'
|
|
|
|
- 'ee/spec/models/epic_spec.rb'
|
|
|
|
- 'ee/spec/models/geo/project_registry_spec.rb'
|
|
|
|
- 'ee/spec/models/geo_node_spec.rb'
|
|
|
|
- 'ee/spec/models/geo_node_status_spec.rb'
|
|
|
|
- 'ee/spec/models/group_spec.rb'
|
|
|
|
- 'ee/spec/models/issue_spec.rb'
|
|
|
|
- 'ee/spec/models/label_note_spec.rb'
|
|
|
|
- 'ee/spec/models/license_spec.rb'
|
|
|
|
- 'ee/spec/models/merge_request_spec.rb'
|
|
|
|
- 'ee/spec/models/operations/feature_flag_scope_spec.rb'
|
|
|
|
- 'ee/spec/models/operations/feature_flag_spec.rb'
|
|
|
|
- 'ee/spec/models/operations/feature_flags/strategy_spec.rb'
|
|
|
|
- 'ee/spec/models/operations/feature_flags/user_list_spec.rb'
|
|
|
|
- 'ee/spec/models/project_services/github_service_spec.rb'
|
|
|
|
- 'ee/spec/models/project_services/jenkins_service_spec.rb'
|
|
|
|
- 'ee/spec/models/project_spec.rb'
|
|
|
|
- 'ee/spec/models/scim_identity_spec.rb'
|
|
|
|
- 'ee/spec/models/scim_oauth_access_token_spec.rb'
|
|
|
|
- 'ee/spec/models/user_preference_spec.rb'
|
|
|
|
- 'ee/spec/models/user_spec.rb'
|
|
|
|
- 'ee/spec/models/visible_approvable_spec.rb'
|
|
|
|
- 'ee/spec/models/vulnerabilities/feedback_spec.rb'
|
|
|
|
- 'ee/spec/models/vulnerabilities/issue_link_spec.rb'
|
|
|
|
- 'ee/spec/policies/protected_branch_policy_spec.rb'
|
|
|
|
- 'ee/spec/presenters/audit_event_presenter_spec.rb'
|
|
|
|
- 'ee/spec/presenters/epic_presenter_spec.rb'
|
|
|
|
- 'ee/spec/presenters/packages/conan/package_presenter_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/boards_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/epic_issues_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/epic_links_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/epics_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/geo_nodes_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/geo_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/graphql/group/epics_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/graphql/mutations/epic_tree/reorder_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/groups_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/issues_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/ldap_group_links_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/maven_packages_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/merge_request_approval_rules_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/merge_request_approvals_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/merge_requests_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/project_approvals_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/projects_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/protected_branches_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/scim_spec.rb'
|
|
|
|
- 'ee/spec/requests/api/todos_spec.rb'
|
|
|
|
- 'ee/spec/services/approval_rules/finalize_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ci/register_job_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/boards/issues/create_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/issuable/clone/attributes_rewriter_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/issuable/common_system_notes_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/issues/update_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/merge_requests/refresh_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/merge_requests/update_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/notes/quick_actions_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/notification_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ee/resource_events/change_weight_service_spec.rb'
|
|
|
|
- 'ee/spec/services/elastic/index_record_service_spec.rb'
|
|
|
|
- 'ee/spec/services/epic_links/create_service_spec.rb'
|
|
|
|
- 'ee/spec/services/epics/issue_promote_service_spec.rb'
|
|
|
|
- 'ee/spec/services/epics/tree_reorder_service_spec.rb'
|
|
|
|
- 'ee/spec/services/epics/update_dates_service_spec.rb'
|
|
|
|
- 'ee/spec/services/epics/update_service_spec.rb'
|
|
|
|
- 'ee/spec/services/geo/blob_verification_secondary_service_spec.rb'
|
|
|
|
- 'ee/spec/services/geo/metrics_update_service_spec.rb'
|
|
|
|
- 'ee/spec/services/geo/registry_consistency_service_spec.rb'
|
|
|
|
- 'ee/spec/services/geo/repository_verification_secondary_service_spec.rb'
|
|
|
|
- 'ee/spec/services/groups/autocomplete_service_spec.rb'
|
|
|
|
- 'ee/spec/services/ldap_group_reset_service_spec.rb'
|
|
|
|
- 'ee/spec/services/lfs/unlock_file_service_spec.rb'
|
|
|
|
- 'ee/spec/services/merge_requests/approval_service_spec.rb'
|
|
|
|
- 'ee/spec/services/merge_requests/remove_approval_service_spec.rb'
|
|
|
|
- 'ee/spec/services/merge_trains/refresh_merge_request_service_spec.rb'
|
|
|
|
- 'ee/spec/services/projects/after_rename_service_spec.rb'
|
|
|
|
- 'ee/spec/services/projects/update_service_spec.rb'
|
|
|
|
- 'ee/spec/services/quick_actions/interpret_service_spec.rb'
|
|
|
|
- 'ee/spec/services/slash_commands/global_slack_handler_spec.rb'
|
|
|
|
- 'ee/spec/services/start_pull_mirroring_service_spec.rb'
|
|
|
|
- 'ee/spec/services/status_page/trigger_publish_service_spec.rb'
|
|
|
|
- 'ee/spec/services/todo_service_spec.rb'
|
|
|
|
- 'ee/spec/services/update_build_minutes_service_spec.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/lib/analytics/common_merge_request_metrics_refresh_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/models/concerns/replicator_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/models/member_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/models/mentionable_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/policies/protected_environments_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/requests/api/project_approval_rules_api_shared_examples.rb'
|
|
|
|
- 'ee/spec/support/shared_examples/services/issue_epic_shared_examples.rb'
|
|
|
|
- 'ee/spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb'
|
|
|
|
- 'ee/spec/workers/adjourned_project_deletion_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/create_github_webhook_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/elastic_indexer_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/geo/container_repository_sync_dispatch_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/geo/file_download_dispatch_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/geo/repository_shard_sync_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/repository_import_worker_spec.rb'
|
|
|
|
- 'ee/spec/workers/update_all_mirrors_worker_spec.rb'
|
|
|
|
- 'qa/qa/specs/features/browser_ui/3_create/repository/push_mirroring_over_http_spec.rb'
|
|
|
|
- 'qa/qa/specs/features/ee/browser_ui/3_create/repository/pull_mirroring_over_http_spec.rb'
|
|
|
|
- 'spec/controllers/abuse_reports_controller_spec.rb'
|
|
|
|
- 'spec/controllers/admin/impersonations_controller_spec.rb'
|
|
|
|
- 'spec/controllers/admin/runners_controller_spec.rb'
|
|
|
|
- 'spec/controllers/boards/issues_controller_spec.rb'
|
|
|
|
- 'spec/controllers/groups/runners_controller_spec.rb'
|
|
|
|
- 'spec/controllers/oauth/authorizations_controller_spec.rb'
|
|
|
|
- 'spec/controllers/omniauth_callbacks_controller_spec.rb'
|
|
|
|
- 'spec/controllers/profiles/emails_controller_spec.rb'
|
|
|
|
- 'spec/controllers/profiles/notifications_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/artifacts_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/cycle_analytics_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/issues_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/labels_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/merge_requests_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/milestones_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/notes_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/pipelines_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects/runners_controller_spec.rb'
|
|
|
|
- 'spec/controllers/projects_controller_spec.rb'
|
|
|
|
- 'spec/factories/ci/pipelines.rb'
|
|
|
|
- 'spec/factories/design_management/designs.rb'
|
|
|
|
- 'spec/factories/design_management/versions.rb'
|
|
|
|
- 'spec/factories/labels.rb'
|
|
|
|
- 'spec/factories/projects.rb'
|
|
|
|
- 'spec/features/admin/admin_mode/login_spec.rb'
|
|
|
|
- 'spec/features/admin/admin_runners_spec.rb'
|
|
|
|
- 'spec/features/admin/admin_users_impersonation_tokens_spec.rb'
|
|
|
|
- 'spec/features/admin/admin_users_spec.rb'
|
|
|
|
- 'spec/features/boards/sidebar_spec.rb'
|
|
|
|
- 'spec/features/calendar_spec.rb'
|
|
|
|
- 'spec/features/commits_spec.rb'
|
|
|
|
- 'spec/features/dashboard/datetime_on_tooltips_spec.rb'
|
|
|
|
- 'spec/features/dashboard/issuables_counter_spec.rb'
|
|
|
|
- 'spec/features/dashboard/project_member_activity_index_spec.rb'
|
|
|
|
- 'spec/features/dashboard/projects_spec.rb'
|
|
|
|
- 'spec/features/error_tracking/user_sees_error_index_spec.rb'
|
|
|
|
- 'spec/features/groups/members/request_access_spec.rb'
|
|
|
|
- 'spec/features/issues/bulk_assignment_labels_spec.rb'
|
|
|
|
- 'spec/features/issues/gfm_autocomplete_spec.rb'
|
|
|
|
- 'spec/features/issues/issue_sidebar_spec.rb'
|
|
|
|
- 'spec/features/issues/note_polling_spec.rb'
|
|
|
|
- 'spec/features/issues/user_creates_branch_and_merge_request_spec.rb'
|
|
|
|
- 'spec/features/issues/user_creates_confidential_merge_request_spec.rb'
|
|
|
|
- 'spec/features/issues/user_edits_issue_spec.rb'
|
|
|
|
- 'spec/features/issues/user_filters_issues_spec.rb'
|
|
|
|
- 'spec/features/issues/user_sees_live_update_spec.rb'
|
|
|
|
- 'spec/features/issues/user_sorts_issues_spec.rb'
|
|
|
|
- 'spec/features/merge_request/user_merges_when_pipeline_succeeds_spec.rb'
|
|
|
|
- 'spec/features/merge_request/user_posts_diff_notes_spec.rb'
|
|
|
|
- 'spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb'
|
|
|
|
- 'spec/features/merge_request/user_sees_cherry_pick_modal_spec.rb'
|
|
|
|
- 'spec/features/merge_request/user_sees_merge_widget_spec.rb'
|
|
|
|
- 'spec/features/merge_requests/user_mass_updates_spec.rb'
|
|
|
|
- 'spec/features/profiles/emails_spec.rb'
|
|
|
|
- 'spec/features/profiles/password_spec.rb'
|
|
|
|
- 'spec/features/profiles/personal_access_tokens_spec.rb'
|
|
|
|
- 'spec/features/projects/features_visibility_spec.rb'
|
|
|
|
- 'spec/features/projects/jobs_spec.rb'
|
|
|
|
- 'spec/features/projects/members/user_requests_access_spec.rb'
|
|
|
|
- 'spec/features/projects/pages_lets_encrypt_spec.rb'
|
|
|
|
- 'spec/features/projects/pages_spec.rb'
|
|
|
|
- 'spec/features/projects/remote_mirror_spec.rb'
|
|
|
|
- 'spec/features/projects/services/user_activates_slack_notifications_spec.rb'
|
|
|
|
- 'spec/features/projects/settings/access_tokens_spec.rb'
|
|
|
|
- 'spec/features/projects/show/user_sees_deletion_failure_message_spec.rb'
|
|
|
|
- 'spec/features/projects/user_sees_sidebar_spec.rb'
|
|
|
|
- 'spec/features/projects/wiki/user_updates_wiki_page_spec.rb'
|
|
|
|
- 'spec/features/projects/wiki/users_views_asciidoc_page_with_includes_spec.rb'
|
|
|
|
- 'spec/features/security/project/private_access_spec.rb'
|
|
|
|
- 'spec/features/users/login_spec.rb'
|
|
|
|
- 'spec/features/users/show_spec.rb'
|
|
|
|
- 'spec/finders/autocomplete/move_to_project_finder_spec.rb'
|
|
|
|
- 'spec/finders/group_descendants_finder_spec.rb'
|
|
|
|
- 'spec/finders/issues_finder_spec.rb'
|
|
|
|
- 'spec/finders/merge_requests_finder_spec.rb'
|
|
|
|
- 'spec/finders/projects_finder_spec.rb'
|
|
|
|
- 'spec/finders/uploader_finder_spec.rb'
|
|
|
|
- 'spec/frontend/fixtures/issues.rb'
|
|
|
|
- 'spec/frontend/fixtures/merge_requests.rb'
|
|
|
|
- 'spec/graphql/mutations/merge_requests/set_locked_spec.rb'
|
|
|
|
- 'spec/graphql/mutations/merge_requests/set_wip_spec.rb'
|
|
|
|
- 'spec/graphql/resolvers/boards_resolver_spec.rb'
|
|
|
|
- 'spec/helpers/appearances_helper_spec.rb'
|
|
|
|
- 'spec/helpers/profiles_helper_spec.rb'
|
|
|
|
- 'spec/helpers/projects/alert_management_helper_spec.rb'
|
|
|
|
- 'spec/helpers/projects_helper_spec.rb'
|
|
|
|
- 'spec/helpers/visibility_level_helper_spec.rb'
|
|
|
|
- 'spec/initializers/active_record_locking_spec.rb'
|
|
|
|
- 'spec/initializers/fog_google_https_private_urls_spec.rb'
|
|
|
|
- 'spec/lib/after_commit_queue_spec.rb'
|
|
|
|
- 'spec/lib/backup/manager_spec.rb'
|
|
|
|
- 'spec/lib/banzai/reference_parser/external_issue_parser_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/analytics/cycle_analytics/records_fetcher_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/auth/ldap/user_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/auth/o_auth/user_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/auth/saml/user_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/auth_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/backfill_deployment_clusters_from_deployments_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/backfill_project_repositories_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/backfill_project_settings_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/backfill_push_rules_id_in_projects_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/digest_column_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/encrypt_columns_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/fix_cross_project_label_links_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/fix_projects_without_prometheus_service_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/fix_user_namespace_names_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/fix_user_project_route_names_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/legacy_upload_mover_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/legacy_uploads_migrator_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/link_lfs_objects_projects_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/migrate_issue_trackers_sensitive_data_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/migrate_stage_index_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/migrate_users_bio_to_user_details_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/populate_canonical_emails_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/populate_merge_request_assignees_table_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/populate_user_highest_roles_table_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/recalculate_project_authorizations_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/remove_restricted_todos_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/set_confidential_note_events_on_services_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/background_migration/set_confidential_note_events_on_webhooks_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/bitbucket_server_import/importer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/ci/ansi2json/style_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/cycle_analytics/base_event_fetcher_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/cycle_analytics/events_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/database/custom_structure_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/database_importers/self_monitoring/project/create_service_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/git/remote_mirror_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/git_access_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/gitaly_client/repository_service_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/avatar_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/design_repo_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/fast_hash_serializer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/fork_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/group/legacy_tree_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/importer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/lfs_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/lfs_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/members_mapper_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/project/tree_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/project/tree_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/repo_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/snippet_repo_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/snippets_repo_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/uploads_manager_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/uploads_saver_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/import_export/wiki_restorer_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/lets_encrypt/client_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/markdown_cache/active_record/extension_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/markdown_cache/redis/store_spec.rb'
|
|
|
|
- 'spec/lib/gitlab/shard_health_cache_spec.rb'
|
|
|
|
- 'spec/mailers/notify_spec.rb'
|
|
|
|
- 'spec/migrations/20200122123016_backfill_project_settings_spec.rb'
|
|
|
|
- 'spec/migrations/20200123155929_remove_invalid_jira_data_spec.rb'
|
|
|
|
- 'spec/migrations/20200127090233_remove_invalid_issue_tracker_data_spec.rb'
|
|
|
|
- 'spec/migrations/20200406102120_backfill_deployment_clusters_from_deployments_spec.rb'
|
|
|
|
- 'spec/migrations/add_unique_constraint_to_approvals_user_id_and_merge_request_id_spec.rb'
|
|
|
|
- 'spec/migrations/backfill_and_add_not_null_constraint_to_released_at_column_on_releases_table_spec.rb'
|
|
|
|
- 'spec/migrations/backfill_releases_table_updated_at_and_add_not_null_constraints_to_timestamps_spec.rb'
|
|
|
|
- 'spec/migrations/encrypt_plaintext_attributes_on_application_settings_spec.rb'
|
|
|
|
- 'spec/migrations/fill_file_store_lfs_objects_spec.rb'
|
|
|
|
- 'spec/migrations/fill_store_uploads_spec.rb'
|
|
|
|
- 'spec/migrations/fix_null_type_labels_spec.rb'
|
|
|
|
- 'spec/migrations/fix_pool_repository_source_project_id_spec.rb'
|
|
|
|
- 'spec/migrations/fix_wrong_pages_access_level_spec.rb'
|
|
|
|
- 'spec/migrations/insert_project_hooks_plan_limits_spec.rb'
|
|
|
|
- 'spec/migrations/migrate_auto_dev_ops_domain_to_cluster_domain_spec.rb'
|
|
|
|
- 'spec/migrations/schedule_link_lfs_objects_projects_spec.rb'
|
|
|
|
- 'spec/models/appearance_spec.rb'
|
|
|
|
- 'spec/models/application_setting_spec.rb'
|
|
|
|
- 'spec/models/ci/build_spec.rb'
|
|
|
|
- 'spec/models/ci/instance_variable_spec.rb'
|
|
|
|
- 'spec/models/ci/pipeline_spec.rb'
|
|
|
|
- 'spec/models/ci/runner_spec.rb'
|
|
|
|
- 'spec/models/clusters/applications/helm_spec.rb'
|
|
|
|
- 'spec/models/concerns/avatarable_spec.rb'
|
|
|
|
- 'spec/models/concerns/bulk_insertable_associations_spec.rb'
|
|
|
|
- 'spec/models/concerns/cache_markdown_field_spec.rb'
|
|
|
|
- 'spec/models/concerns/featurable_spec.rb'
|
|
|
|
- 'spec/models/concerns/issuable_spec.rb'
|
|
|
|
- 'spec/models/concerns/mentionable_spec.rb'
|
|
|
|
- 'spec/models/concerns/milestoneable_spec.rb'
|
|
|
|
- 'spec/models/concerns/routable_spec.rb'
|
|
|
|
- 'spec/models/concerns/subscribable_spec.rb'
|
|
|
|
- 'spec/models/concerns/token_authenticatable_spec.rb'
|
|
|
|
- 'spec/models/container_repository_spec.rb'
|
|
|
|
- 'spec/models/cycle_analytics/issue_spec.rb'
|
|
|
|
- 'spec/models/cycle_analytics/plan_spec.rb'
|
|
|
|
- 'spec/models/deploy_keys_project_spec.rb'
|
|
|
|
- 'spec/models/deploy_token_spec.rb'
|
|
|
|
- 'spec/models/deployment_spec.rb'
|
|
|
|
- 'spec/models/design_management/version_spec.rb'
|
|
|
|
- 'spec/models/diff_note_spec.rb'
|
|
|
|
- 'spec/models/email_spec.rb'
|
|
|
|
- 'spec/models/environment_spec.rb'
|
|
|
|
- 'spec/models/event_spec.rb'
|
|
|
|
- 'spec/models/fork_network_spec.rb'
|
|
|
|
- 'spec/models/generic_commit_status_spec.rb'
|
|
|
|
- 'spec/models/grafana_integration_spec.rb'
|
|
|
|
- 'spec/models/group_spec.rb'
|
|
|
|
- 'spec/models/hooks/system_hook_spec.rb'
|
|
|
|
- 'spec/models/hooks/web_hook_spec.rb'
|
|
|
|
- 'spec/models/identity_spec.rb'
|
|
|
|
- 'spec/models/issue_spec.rb'
|
|
|
|
- 'spec/models/key_spec.rb'
|
|
|
|
- 'spec/models/lfs_objects_project_spec.rb'
|
|
|
|
- 'spec/models/member_spec.rb'
|
|
|
|
- 'spec/models/members/group_member_spec.rb'
|
|
|
|
- 'spec/models/members/project_member_spec.rb'
|
|
|
|
- 'spec/models/merge_request_spec.rb'
|
|
|
|
- 'spec/models/milestone_spec.rb'
|
|
|
|
- 'spec/models/namespace_spec.rb'
|
|
|
|
- 'spec/models/note_spec.rb'
|
|
|
|
- 'spec/models/notification_setting_spec.rb'
|
|
|
|
- 'spec/models/pages_domain_spec.rb'
|
|
|
|
- 'spec/models/project_services/bamboo_service_spec.rb'
|
|
|
|
- 'spec/models/project_services/jira_service_spec.rb'
|
|
|
|
- 'spec/models/project_services/pipelines_email_service_spec.rb'
|
|
|
|
- 'spec/models/project_services/teamcity_service_spec.rb'
|
|
|
|
- 'spec/models/project_spec.rb'
|
|
|
|
- 'spec/models/project_team_spec.rb'
|
|
|
|
- 'spec/models/release_spec.rb'
|
|
|
|
- 'spec/models/remote_mirror_spec.rb'
|
|
|
|
- 'spec/models/resource_milestone_event_spec.rb'
|
|
|
|
- 'spec/models/route_spec.rb'
|
|
|
|
- 'spec/models/sentry_issue_spec.rb'
|
|
|
|
- 'spec/models/service_spec.rb'
|
|
|
|
- 'spec/models/snippet_spec.rb'
|
|
|
|
- 'spec/models/upload_spec.rb'
|
|
|
|
- 'spec/models/user_preference_spec.rb'
|
|
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
- 'spec/models/wiki_page/meta_spec.rb'
|
|
|
|
- 'spec/models/wiki_page_spec.rb'
|
|
|
|
- 'spec/policies/ci/build_policy_spec.rb'
|
|
|
|
- 'spec/policies/ci/pipeline_policy_spec.rb'
|
|
|
|
- 'spec/policies/ci/pipeline_schedule_policy_spec.rb'
|
|
|
|
- 'spec/policies/merge_request_policy_spec.rb'
|
|
|
|
- 'spec/policies/project_policy_spec.rb'
|
|
|
|
- 'spec/requests/api/boards_spec.rb'
|
|
|
|
- 'spec/requests/api/deployments_spec.rb'
|
|
|
|
- 'spec/requests/api/environments_spec.rb'
|
|
|
|
- 'spec/requests/api/graphql/mutations/merge_requests/set_labels_spec.rb'
|
|
|
|
- 'spec/requests/api/graphql/user_query_spec.rb'
|
|
|
|
- 'spec/requests/api/graphql_spec.rb'
|
|
|
|
- 'spec/requests/api/group_milestones_spec.rb'
|
|
|
|
- 'spec/requests/api/internal/base_spec.rb'
|
|
|
|
- 'spec/requests/api/issues/get_group_issues_spec.rb'
|
|
|
|
- 'spec/requests/api/jobs_spec.rb'
|
|
|
|
- 'spec/requests/api/labels_spec.rb'
|
|
|
|
- 'spec/requests/api/members_spec.rb'
|
|
|
|
- 'spec/requests/api/merge_request_diffs_spec.rb'
|
|
|
|
- 'spec/requests/api/merge_requests_spec.rb'
|
|
|
|
- 'spec/requests/api/pipeline_schedules_spec.rb'
|
|
|
|
- 'spec/requests/api/project_import_spec.rb'
|
|
|
|
- 'spec/requests/api/projects_spec.rb'
|
|
|
|
- 'spec/requests/api/runners_spec.rb'
|
|
|
|
- 'spec/requests/api/snippets_spec.rb'
|
|
|
|
- 'spec/requests/git_http_spec.rb'
|
|
|
|
- 'spec/requests/profiles/notifications_controller_spec.rb'
|
|
|
|
- 'spec/requests/projects/cycle_analytics_events_spec.rb'
|
|
|
|
- 'spec/serializers/environment_status_entity_spec.rb'
|
|
|
|
- 'spec/serializers/merge_request_poll_widget_entity_spec.rb'
|
|
|
|
- 'spec/serializers/merge_request_widget_entity_spec.rb'
|
|
|
|
- 'spec/services/ci/create_pipeline_service_spec.rb'
|
|
|
|
- 'spec/services/ci/register_job_service_spec.rb'
|
|
|
|
- 'spec/services/ci/retry_build_service_spec.rb'
|
|
|
|
- 'spec/services/deployments/after_create_service_spec.rb'
|
|
|
|
- 'spec/services/design_management/generate_image_versions_service_spec.rb'
|
|
|
|
- 'spec/services/draft_notes/destroy_service_spec.rb'
|
|
|
|
- 'spec/services/emails/confirm_service_spec.rb'
|
|
|
|
- 'spec/services/groups/destroy_service_spec.rb'
|
|
|
|
- 'spec/services/groups/import_export/import_service_spec.rb'
|
|
|
|
- 'spec/services/issuable/clone/attributes_rewriter_spec.rb'
|
|
|
|
- 'spec/services/issuable/common_system_notes_service_spec.rb'
|
|
|
|
- 'spec/services/issues/close_service_spec.rb'
|
|
|
|
- 'spec/services/issues/create_service_spec.rb'
|
|
|
|
- 'spec/services/issues/export_csv_service_spec.rb'
|
|
|
|
- 'spec/services/issues/reopen_service_spec.rb'
|
|
|
|
- 'spec/services/issues/update_service_spec.rb'
|
|
|
|
- 'spec/services/labels/promote_service_spec.rb'
|
|
|
|
- 'spec/services/members/destroy_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/conflicts/list_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/create_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/merge_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/post_merge_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/refresh_service_spec.rb'
|
|
|
|
- 'spec/services/merge_requests/update_service_spec.rb'
|
|
|
|
- 'spec/services/milestones/destroy_service_spec.rb'
|
|
|
|
- 'spec/services/milestones/promote_service_spec.rb'
|
|
|
|
- 'spec/services/milestones/transfer_service_spec.rb'
|
|
|
|
- 'spec/services/notification_recipients/build_service_spec.rb'
|
|
|
|
- 'spec/services/notification_service_spec.rb'
|
|
|
|
- 'spec/services/projects/after_rename_service_spec.rb'
|
|
|
|
- 'spec/services/projects/create_service_spec.rb'
|
|
|
|
- 'spec/services/projects/fork_service_spec.rb'
|
|
|
|
- 'spec/services/projects/move_access_service_spec.rb'
|
|
|
|
- 'spec/services/projects/move_project_group_links_service_spec.rb'
|
|
|
|
- 'spec/services/projects/overwrite_project_service_spec.rb'
|
|
|
|
- 'spec/services/projects/propagate_service_template_spec.rb'
|
|
|
|
- 'spec/services/projects/unlink_fork_service_spec.rb'
|
|
|
|
- 'spec/services/projects/update_pages_service_spec.rb'
|
|
|
|
- 'spec/services/projects/update_service_spec.rb'
|
|
|
|
- 'spec/services/quick_actions/interpret_service_spec.rb'
|
|
|
|
- 'spec/services/system_hooks_service_spec.rb'
|
|
|
|
- 'spec/services/system_note_service_spec.rb'
|
|
|
|
- 'spec/services/system_notes/issuables_service_spec.rb'
|
|
|
|
- 'spec/services/todo_service_spec.rb'
|
|
|
|
- 'spec/services/todos/destroy/confidential_issue_service_spec.rb'
|
|
|
|
- 'spec/services/users/destroy_service_spec.rb'
|
|
|
|
- 'spec/services/users/repair_ldap_blocked_service_spec.rb'
|
|
|
|
- 'spec/support/helpers/cycle_analytics_helpers.rb'
|
|
|
|
- 'spec/support/helpers/jira_service_helper.rb'
|
|
|
|
- 'spec/support/helpers/login_helpers.rb'
|
|
|
|
- 'spec/support/helpers/notification_helpers.rb'
|
|
|
|
- 'spec/support/helpers/stub_action_cable_connection.rb'
|
|
|
|
- 'spec/support/helpers/stub_object_storage.rb'
|
|
|
|
- 'spec/support/migrations_helpers/cluster_helpers.rb'
|
|
|
|
- 'spec/support/migrations_helpers/track_untracked_uploads_helpers.rb'
|
|
|
|
- 'spec/support/shared_contexts/finders/group_projects_finder_shared_contexts.rb'
|
|
|
|
- 'spec/support/shared_contexts/mailers/notify_shared_context.rb'
|
|
|
|
- 'spec/support/shared_examples/controllers/githubish_import_controller_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/controllers/sessionless_auth_controller_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/features/editable_merge_request_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/diff_note_after_commit_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/member_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/members_notifications_shared_example.rb'
|
|
|
|
- 'spec/support/shared_examples/models/mentionable_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/relative_positioning_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/slack_mattermost_notifications_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/update_project_statistics_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/models/with_uploads_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/quick_actions/issuable/issuable_quick_actions_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/quick_actions/merge_request/merge_quick_action_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/requests/api/boards_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/services/common_system_notes_shared_examples.rb'
|
|
|
|
- 'spec/support/shared_examples/services/issuable_shared_examples.rb'
|
|
|
|
- 'spec/tasks/gitlab/web_hook_rake_spec.rb'
|
|
|
|
- 'spec/views/projects/imports/new.html.haml_spec.rb'
|
|
|
|
- 'spec/views/projects/merge_requests/show.html.haml_spec.rb'
|
|
|
|
- 'spec/views/shared/_label_row.html.haml_spec.rb'
|
|
|
|
- 'spec/workers/migrate_external_diffs_worker_spec.rb'
|
|
|
|
- 'spec/workers/namespaceless_project_destroy_worker_spec.rb'
|
|
|
|
- 'spec/workers/pages_domain_verification_worker_spec.rb'
|
|
|
|
- 'spec/workers/propagate_service_template_worker_spec.rb'
|
|
|
|
- 'spec/workers/remove_unreferenced_lfs_objects_worker_spec.rb'
|
|
|
|
- 'spec/workers/repository_cleanup_worker_spec.rb'
|
|
|
|
- 'spec/workers/repository_import_worker_spec.rb'
|
|
|
|
- 'spec/workers/repository_update_remote_mirror_worker_spec.rb'
|