Skip to content

fix(typos): allow pluralized SQL keywords INSERTs and SELECTs#18520

Merged
sfanahata merged 1 commit into
masterfrom
fix/typos-config-sql-plurals
Jun 23, 2026
Merged

fix(typos): allow pluralized SQL keywords INSERTs and SELECTs#18520
sfanahata merged 1 commit into
masterfrom
fix/typos-config-sql-plurals

Conversation

@sfanahata

Copy link
Copy Markdown
Contributor

Summary

The crate-ci/typos checker splits INSERTs and SELECTs into stems INSER and SELEC, then flags them as misspellings of INSERT and SELECT. These are valid pluralized SQL keywords used in technical documentation (e.g., "ClickHouse INSERTs").

This adds both words to the [default.extend-words] allowlist in _typos.toml, following the same pattern already used for DSNs, SDKs, APIs, etc.

Motivation

Unblocks #17782, which is blocked by the required Check Typos CI check due to these false positives on line 89 of develop-docs/self-hosted/troubleshooting/snuba.mdx.

The typos checker splits 'INSERTs' and 'SELECTs' into stems 'INSER' and
'SELEC', then flags them as misspellings. These are valid pluralized SQL
keywords used in technical documentation (e.g., 'ClickHouse INSERTs').

This unblocks #17782.
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 23, 2026 6:53pm
sentry-docs Ready Ready Preview, Comment Jun 23, 2026 6:53pm

Request Review

@sfanahata sfanahata merged commit 3451194 into master Jun 23, 2026
21 checks passed
@sfanahata sfanahata deleted the fix/typos-config-sql-plurals branch June 23, 2026 19:51
sfanahata added a commit that referenced this pull request Jun 23, 2026
## Summary

Follow-up to #18520. The full-word entries `INSERTs`/`SELECTs` added in
that PR are not sufficient because `crate-ci/typos` splits mixed-case
plurals at the case boundary (`INSER` + `Ts`) and checks each subword
independently. The stems `INSER` and `SELEC` must also be allowlisted.

This follows the same pattern already used in the config:
- `STARTD` — stem of `MIGRATED_GETTING_STARTD_DOCS`
- `ERRO` — stem of `ERRORs`

## Motivation

Unblocks #17782, which is still blocked by the `Check Typos` CI check
after #18520 was merged.

Co-authored-by: Shannon Anahata <shannonanahata@gmail.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.

2 participants