Skip to content

Extend Graphql/Descriptions cop to ban descriptions with "this" (lowercase) in them

What does this MR do and why?

Extends GraphQL/Descriptions cop to add offense if demonstrative "this" appears in description

Screenshots or screen recordings

Not applicable

How to set up and validate locally

Not applicable

MR acceptance checklist

  • Update the existing Graphql/Descriptions cop and the corresponding spec with the functionality.

  • Follow the resolving robocop exceptions process to add existing offenses to .rubocop_todo.yml in the MR that introduces the cop.

  • (Possibly) Work with a technical writer to help reword legitimate uses of this to not use it.

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #324114 (closed)

Edited by Ashvith

Merge request reports