Skip to content

Conversation

@khiga8
Copy link
Collaborator

@khiga8 khiga8 commented Jun 30, 2022

I noticed a PR in dotcom with the text, Learn more. which this linter didn't catch because it only looks for case-insensitive exact string match.

This PR updates the linter to ignore punctuations and multiple whitespaces so we flag:

  • Learn more.
  • Click here!!!

@khiga8 khiga8 marked this pull request as ready for review June 30, 2022 16:41
@khiga8 khiga8 requested a review from a team as a code owner June 30, 2022 16:41
@accessibility-bot
Copy link

👋 Hello and thanks for pinging us! An accessibility first responder will review this soon.

  • 💻 On PRs for our review: please provide a review environment with steps to validate, screenshots (with alt text), or videos demonstrating functionality we should be checking. This will help speed up our review and feedback cycle.
  • ⚠️ If this is urgent, please visit us in #accessibility on Slack and tag the first responder(s) listed in the channel topic.

Copy link
Contributor

@lindseywild lindseywild left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If someone actually puts Click here!!! as a link, can we make their computer explode, too? 😂

@khiga8 khiga8 merged commit 90c53ea into main Jun 30, 2022
@khiga8 khiga8 deleted the kh-make-more-strict branch June 30, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants