Skip to content

RuboCop: Add autocorrect to replace "this" with "the" in Graphql/Descriptions

What does this MR do and why?

This MR aims to implement auto-correction to replace "that" with "the".

Screenshots or screen recordings

Not applicable

How to set up and validate locally

To test the new auto-correction:

  1. Fetch the branch locally
  2. Run the following command:
bin/rspec spec/rubocop/cop/graphql/descriptions_spec.rb -fd

MR acceptance checklist

  • Check if auto-correct work for normal string.
  • Check if auto-correct works for heredocs.

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

Related to #384243 (closed)

Edited by Peter Leitzen

Merge request reports