Skip to content
Snippets Groups Projects
Unverified Commit 685fa893 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by GitLab
Browse files

Merge branch '239356-LineEndStringConcatenationIndentation-10' into 'master'

Lint issue fix in Layout/LineEndStringConcatenationIndentation 10

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/164701



Merged-by: default avatarHordur Freyr Yngvason <hfyngvason@gitlab.com>
Approved-by: default avatarRadamanthus Batnag <rbatnag@gitlab.com>
Approved-by: default avatarHordur Freyr Yngvason <hfyngvason@gitlab.com>
Co-authored-by: default avatarArchish <archishthakkar@gmail.com>
parents ff4b942f c700a576
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,12 +2,6 @@
# Cop supports --autocorrect.
Layout/LineEndStringConcatenationIndentation:
Exclude:
- 'app/graphql/types/packages/package_base_type.rb'
- 'app/graphql/types/packages/protection/rule_type.rb'
- 'app/graphql/types/permission_types/ci/pipeline_schedules.rb'
- 'app/graphql/types/project_type.rb'
- 'app/graphql/types/query_type.rb'
- 'app/graphql/types/root_storage_statistics_type.rb'
- 'app/helpers/tags_helper.rb'
- 'app/helpers/tree_helper.rb'
- 'app/helpers/visibility_level_helper.rb'
Loading
Loading
Loading
Loading
@@ -28,7 +28,7 @@ class PackageBaseType < ::Types::BaseObject
alpha: { milestone: '17.0' },
description:
'Whether any matching package protection rule exists for this package. ' \
'Available only when feature flag `packages_protected_packages` is enabled.'
'Available only when feature flag `packages_protected_packages` is enabled.'
field :status, Types::Packages::PackageStatusEnum, null: false, description: 'Package status.'
field :status_message, GraphQL::Types::String, null: true, description: 'Status message.'
field :tags, Types::Packages::PackageTagType.connection_type, null: true, description: 'Package tags.'
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@ module Protection
class RuleType < ::Types::BaseObject
graphql_name 'PackagesProtectionRule'
description 'A packages protection rule designed to protect packages ' \
'from being pushed by users with a certain access level.'
'from being pushed by users with a certain access level.'
 
authorize :admin_package
 
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@ class PipelineSchedules < BasePermissionType
ability_field :take_ownership_pipeline_schedule,
deprecated: {
reason: 'Use admin_pipeline_schedule permission to determine if the user can take ownership ' \
'of a pipeline schedule',
'of a pipeline schedule',
milestone: '15.9'
}
end
Loading
Loading
Loading
Loading
@@ -136,7 +136,7 @@ class ProjectType < BaseObject
field :merge_requests_ff_only_enabled, GraphQL::Types::Boolean,
null: true,
description: 'Indicates if no merge commits should be created and all merges should instead be ' \
'fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded.'
'fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded.'
 
field :shared_runners_enabled, GraphQL::Types::Boolean,
null: true,
Loading
Loading
@@ -167,7 +167,7 @@ class ProjectType < BaseObject
field :public_jobs, GraphQL::Types::Boolean,
null: true,
description: 'Indicates if there is public access to pipelines and job details of the project, ' \
'including output logs and artifacts.',
'including output logs and artifacts.',
method: :public_builds
 
field :open_issues_count, GraphQL::Types::Int,
Loading
Loading
@@ -181,12 +181,12 @@ class ProjectType < BaseObject
field :allow_merge_on_skipped_pipeline, GraphQL::Types::Boolean,
null: true,
description: 'If `only_allow_merge_if_pipeline_succeeds` is true, indicates if merge requests of ' \
'the project can also be merged with skipped jobs.'
'the project can also be merged with skipped jobs.'
 
field :autoclose_referenced_issues, GraphQL::Types::Boolean,
null: true,
description: 'Indicates if issues referenced by merge requests and commits within the default branch ' \
'are closed automatically.'
'are closed automatically.'
 
field :import_status, GraphQL::Types::String,
null: true,
Loading
Loading
@@ -207,12 +207,12 @@ class ProjectType < BaseObject
field :printing_merge_request_link_enabled, GraphQL::Types::Boolean,
null: true,
description: 'Indicates if a link to create or view a merge request should display after a push to Git ' \
'repositories of the project from the command line.'
'repositories of the project from the command line.'
 
field :remove_source_branch_after_merge, GraphQL::Types::Boolean,
null: true,
description: 'Indicates if `Delete source branch` option should be enabled by default for all ' \
'new merge requests of the project.'
'new merge requests of the project.'
 
field :request_access_enabled, GraphQL::Types::Boolean,
null: true,
Loading
Loading
@@ -303,7 +303,7 @@ class ProjectType < BaseObject
Types::EnvironmentType.connection_type,
null: true,
description: 'Environments of the project. ' \
'This field can only be resolved for one project in any single request.',
'This field can only be resolved for one project in any single request.',
resolver: Resolvers::EnvironmentsResolver do
extension ::Gitlab::Graphql::Limit::FieldCallCount, limit: 1
end
Loading
Loading
@@ -319,7 +319,7 @@ class ProjectType < BaseObject
null: true,
calls_gitaly: true,
description: 'Environments for this project with nested folders, ' \
'can only be resolved for one project in any single request',
'can only be resolved for one project in any single request',
resolver: Resolvers::Environments::NestedEnvironmentsResolver do
extension ::Gitlab::Graphql::Limit::FieldCallCount, limit: 1
end
Loading
Loading
Loading
Loading
@@ -82,12 +82,12 @@ class QueryType < ::Types::BaseObject
alpha: { milestone: '15.6' },
resolver: Resolvers::IssuesResolver,
description: 'Find issues visible to the current user. ' \
'At least one filter must be provided.'
'At least one filter must be provided.'
field :jobs,
::Types::Ci::JobType.connection_type,
null: true,
description: 'All jobs on this GitLab instance. ' \
'Returns an empty result for users without administrator access.',
'Returns an empty result for users without administrator access.',
resolver: ::Resolvers::Ci::AllJobsResolver
field :merge_request, Types::MergeRequestType,
null: true,
Loading
Loading
@@ -155,7 +155,7 @@ class QueryType < ::Types::BaseObject
null: true,
resolver: Resolvers::Ci::RunnersResolver,
description: "Get all runners in the GitLab instance (project and shared). " \
"Access is restricted to users with administrator access."
"Access is restricted to users with administrator access."
field :snippets,
Types::SnippetType.connection_type,
null: true,
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@ class RootStorageStatisticsType < BaseObject
field :container_registry_size, GraphQL::Types::Float, null: false, description: 'Container Registry size in bytes.'
field :container_registry_size_is_estimated, GraphQL::Types::Boolean, method: :registry_size_estimated, null: false,
description: 'Indicates whether the deduplicated Container Registry size for ' \
'the namespace is an estimated value or not.'
'the namespace is an estimated value or not.'
field :dependency_proxy_size, GraphQL::Types::Float, null: false, description: 'Dependency Proxy sizes in bytes.'
field :lfs_objects_size, GraphQL::Types::Float, null: false, description: 'LFS objects size in bytes.'
field :packages_size, GraphQL::Types::Float, null: false, description: 'Packages size in bytes.'
Loading
Loading
@@ -20,7 +20,7 @@ class RootStorageStatisticsType < BaseObject
null: false,
deprecated: { reason: 'Use `container_registry_size_is_estimated`', milestone: '16.2' },
description: 'Indicates whether the deduplicated Container Registry size for ' \
'the namespace is an estimated value or not.'
'the namespace is an estimated value or not.'
field :repository_size, GraphQL::Types::Float, null: false, description: 'Git repository size in bytes.'
field :snippets_size, GraphQL::Types::Float, null: false, description: 'Snippets size in bytes.'
field :storage_size, GraphQL::Types::Float, null: false, description: 'Total storage in bytes.'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment