Skip to content

test(typos): cover all four inline ignore directive forms - #5

Merged
kyle-sexton merged 1 commit into
mainfrom
feat/typos-directive-tests
Jun 22, 2026
Merged

test(typos): cover all four inline ignore directive forms#5
kyle-sexton merged 1 commit into
mainfrom
feat/typos-directive-tests

Conversation

@kyle-sexton

Copy link
Copy Markdown
Contributor

Follow-up to #4. The good fixture previously exercised only spellchecker:disable-line. This plants a real misspelling under each of the four blessed ignore directive forms, so a good -> exit 0 result conjunctively proves every form still suppresses:

  • spellchecker:disable-line (code comment)
  • spellchecker:ignore-next-line (code comment)
  • spellchecker:off / :on (code-comment block)
  • <!-- spellchecker:off --> / <!-- spellchecker:on --> (HTML-comment block, invisible in rendered markdown)

The planted words (teh, recieve, seperate, occured, definately) are the same misspellings #4 confirmed typos flags in the bad fixture — a break in any single directive surfaces its word and fails the fixture.

Local: typos good->0, self-lint->0, harness 5/5, shellcheck -x + editorconfig clean.

The good fixture previously exercised only spellchecker:disable-line. Plant a
real misspelling under each of the four blessed directives — disable-line,
ignore-next-line, the comment block, and the HTML-comment block — so the
good->exit-0 assertion conjunctively proves every form still suppresses. A
break in any single directive surfaces its planted misspelling and fails the
fixture.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kyle-sexton
kyle-sexton merged commit b21bbc2 into main Jun 22, 2026
11 checks passed
@kyle-sexton
kyle-sexton deleted the feat/typos-directive-tests branch June 22, 2026 17:03
kyle-sexton pushed a commit that referenced this pull request Jul 23, 2026
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.3 to
3.1.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fastify/fast-uri/releases">fast-uri's
releases</a>.</em></p>
<blockquote>
<h2>v3.1.4</h2>
<h2>⚠️ Security Release</h2>
<p>Fix for <a
href="https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx">https://github.com/fastify/fast-uri/security/advisories/GHSA-v2hh-gcrm-f6hx</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/fastify/fast-uri/compare/v3.1.3...v3.1.4">https://github.com/fastify/fast-uri/compare/v3.1.3...v3.1.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/fastify/fast-uri/commit/6aeece669e4166b2446a89f17c07a3b15dfb7ed4"><code>6aeece6</code></a>
Bumped v3.1.4</li>
<li><a
href="https://github.com/fastify/fast-uri/commit/2d50fbabc80e4d0884fe0f6a98fe118ce6faa353"><code>2d50fba</code></a>
fix: reject literal backslash in URI authority</li>
<li>See full diff in <a
href="https://github.com/fastify/fast-uri/compare/v3.1.3...v3.1.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fast-uri&package-manager=npm_and_yarn&previous-version=3.1.3&new-version=3.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/melodic-software/standards/network/alerts).

</details>

## Related

- Resolves [Dependabot alert
#5](https://github.com/melodic-software/standards/security/dependabot/5)
(fast-uri host confusion, GHSA-v2hh-gcrm-f6hx) in `distribution`.

No linked issue.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant