Skip to content

Fix cspell timeout #39884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025
Merged

Fix cspell timeout #39884

merged 2 commits into from
Jun 10, 2025

Conversation

Josh-Cena
Copy link
Member

This regex is causing superlinear move; fixed it to what I believe to be the correct logic.

I chose to not have any special treatment for \\, because backslashes are not escape characters in HTML.

@Josh-Cena Josh-Cena requested review from a team as code owners June 10, 2025 14:39
@Josh-Cena Josh-Cena requested review from chrisdavidmills and pepelsbey and removed request for a team, chrisdavidmills and pepelsbey June 10, 2025 14:39
@github-actions github-actions bot added Content:SVG SVG docs system [PR only] Infrastructure and configuration for the project labels Jun 10, 2025
@Josh-Cena Josh-Cena requested a review from bsmth June 10, 2025 14:39
@github-actions github-actions bot added the size/xs [PR only] 0-5 LoC changed label Jun 10, 2025
@github-actions github-actions bot added the size/s [PR only] 6-50 LoC changed label Jun 10, 2025
Copy link
Contributor

github-actions bot commented Jun 10, 2025

Preview URLs

Flaws (2)

URL: /en-US/docs/Web/SVG/Reference/Element/use
Title: <use>
Flaw count: 2

  • macros:
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect

(comment last updated: 2025-06-10 14:42:16)

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

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

LGTM, tested using:

yarn lint:typos-group-by-file

@bsmth bsmth merged commit 9b6f7f0 into mdn:main Jun 10, 2025
9 checks passed
@Josh-Cena Josh-Cena deleted the fix-cspell branch June 10, 2025 14:48
hamishwillee pushed a commit to yoavweiss/content that referenced this pull request Jun 24, 2025
* Fix cspell timeout

* Fix others
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:SVG SVG docs size/s [PR only] 6-50 LoC changed size/xs [PR only] 0-5 LoC changed system [PR only] Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants