diff --git a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml index 2d04bf86a225d55def1ccf1d118fe28e84359689..eb1b3b881af40ea1b36fc58a2784de751a0a6365 100644 --- a/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml +++ b/.rubocop_todo/layout/line_end_string_concatenation_indentation.yml @@ -14,12 +14,6 @@ Layout/LineEndStringConcatenationIndentation: - 'app/graphql/mutations/concerns/mutations/validate_time_estimate.rb' - 'app/graphql/mutations/container_registry/protection/rule/create.rb' - 'app/graphql/mutations/container_registry/protection/rule/delete.rb' - - 'app/graphql/mutations/container_registry/protection/rule/update.rb' - - 'app/graphql/mutations/design_management/upload.rb' - - 'app/graphql/mutations/issues/bulk_update.rb' - - 'app/graphql/mutations/issues/update.rb' - - 'app/graphql/mutations/members/projects/bulk_update.rb' - - 'app/graphql/mutations/merge_requests/update.rb' - 'app/graphql/resolvers/ci/config_resolver.rb' - 'app/graphql/resolvers/ci/runners_resolver.rb' - 'app/graphql/resolvers/ci/template_resolver.rb' diff --git a/app/graphql/mutations/container_registry/protection/rule/update.rb b/app/graphql/mutations/container_registry/protection/rule/update.rb index 24716849cefc1da8f742705450afe08c9bd2283f..a3d1a9b462a71c3ab1f0d398c70c37a12b76ab84 100644 --- a/app/graphql/mutations/container_registry/protection/rule/update.rb +++ b/app/graphql/mutations/container_registry/protection/rule/update.rb @@ -7,8 +7,8 @@ module Rule class Update < ::Mutations::BaseMutation graphql_name 'UpdateContainerRegistryProtectionRule' description 'Updates a container registry protection rule to restrict access to project containers. ' \ - 'You can prevent users without certain roles from altering containers. ' \ - 'Available only when feature flag `container_registry_protected_containers` is enabled.' + 'You can prevent users without certain roles from altering containers. ' \ + 'Available only when feature flag `container_registry_protected_containers` is enabled.' authorize :admin_container_image diff --git a/app/graphql/mutations/design_management/upload.rb b/app/graphql/mutations/design_management/upload.rb index 1f05b619e1ba4d71583bcfc509d15b0ab85da9a1..422c7eecb165291ed887f3ab2c8c1747e833ef13 100644 --- a/app/graphql/mutations/design_management/upload.rb +++ b/app/graphql/mutations/design_management/upload.rb @@ -18,7 +18,7 @@ class Upload < Base field :skipped_designs, [Types::DesignManagement::DesignType], null: false, description: "Any designs that were skipped from the upload due to there " \ - "being no change to their content since their last version" + "being no change to their content since their last version" def resolve(project_path:, iid:, files:) issue = authorized_find!(project_path: project_path, iid: iid) diff --git a/app/graphql/mutations/issues/bulk_update.rb b/app/graphql/mutations/issues/bulk_update.rb index c5ffd3095bbb4a0d1cf31c966fae39715a2cb4b2..4f46b98710cca3d71f76badecbcb03dd2d082d55 100644 --- a/app/graphql/mutations/issues/bulk_update.rb +++ b/app/graphql/mutations/issues/bulk_update.rb @@ -10,23 +10,23 @@ class BulkUpdate < BaseMutation MAX_ISSUES = 100 description 'Allows updating several properties for a set of issues. ' \ - 'Does nothing if the `bulk_update_issues_mutation` feature flag is disabled.' + 'Does nothing if the `bulk_update_issues_mutation` feature flag is disabled.' argument :parent_id, ::Types::GlobalIDType[::IssueParent], required: true, description: 'Global ID of the parent to which the bulk update will be scoped. ' \ - 'The parent can be a project. The parent can also be a group (Premium and Ultimate only). ' \ - 'Example `IssueParentID` are `"gid://gitlab/Project/1"` and `"gid://gitlab/Group/1"`.' + 'The parent can be a project. The parent can also be a group (Premium and Ultimate only). ' \ + 'Example `IssueParentID` are `"gid://gitlab/Project/1"` and `"gid://gitlab/Group/1"`.' argument :ids, [::Types::GlobalIDType[::Issue]], required: true, description: 'Global ID array of the issues that will be updated. ' \ - "IDs that the user can\'t update will be ignored. A max of #{MAX_ISSUES} can be provided." + "IDs that the user can\'t update will be ignored. A max of #{MAX_ISSUES} can be provided." argument :assignee_ids, [::Types::GlobalIDType[::User]], required: false, description: 'Global ID array of the users that will be assigned to the given issues. ' \ - 'Existing assignees will be replaced with the ones on this list.' + 'Existing assignees will be replaced with the ones on this list.' argument :milestone_id, ::Types::GlobalIDType[::Milestone], required: false, diff --git a/app/graphql/mutations/issues/update.rb b/app/graphql/mutations/issues/update.rb index 1f45c0bfa2e99190f44221a34ec60cb43569a1df..4f2656ce02a73229c3d156b5308a735ea1968aa7 100644 --- a/app/graphql/mutations/issues/update.rb +++ b/app/graphql/mutations/issues/update.rb @@ -35,7 +35,7 @@ class Update < Base argument :time_estimate, GraphQL::Types::String, required: false, description: 'Estimated time to complete the issue. ' \ - 'Use `null` or `0` to remove the current estimate.' + 'Use `null` or `0` to remove the current estimate.' def resolve(project_path:, iid:, **args) issue = authorized_find!(project_path: project_path, iid: iid) diff --git a/app/graphql/mutations/members/projects/bulk_update.rb b/app/graphql/mutations/members/projects/bulk_update.rb index 9bf7968670eec4769e3130277407b4d6beea138a..db40c94f1a1f77e3dd5bb63f2f7fa2d7e551111f 100644 --- a/app/graphql/mutations/members/projects/bulk_update.rb +++ b/app/graphql/mutations/members/projects/bulk_update.rb @@ -6,7 +6,7 @@ module Projects class BulkUpdate < BulkUpdateBase graphql_name 'ProjectMemberBulkUpdate' description 'Updates multiple members of a project. ' \ - 'To use this mutation, you must have at least the Maintainer role.' + 'To use this mutation, you must have at least the Maintainer role.' authorize :admin_project_member diff --git a/app/graphql/mutations/merge_requests/update.rb b/app/graphql/mutations/merge_requests/update.rb index 54e56a44609defb59927ad531046d6d1bed6dbd5..9f057e83d6050898a95c6cd85b93e8a307eb6f10 100644 --- a/app/graphql/mutations/merge_requests/update.rb +++ b/app/graphql/mutations/merge_requests/update.rb @@ -29,7 +29,7 @@ class Update < Base argument :time_estimate, GraphQL::Types::String, required: false, description: 'Estimated time to complete the merge request. ' \ - 'Use `null` or `0` to remove the current estimate.' + 'Use `null` or `0` to remove the current estimate.' def resolve(project_path:, iid:, **args) merge_request = authorized_find!(project_path: project_path, iid: iid)