[PR #6319] [MERGED] chore: add spell checker #6589

Closed
opened 2026-03-13 13:04:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6319
Author: @jonathansamines
Created: 11/26/2025
Status: Merged
Merged: 12/1/2025
Merged by: @Bekacru

Base: canaryHead: feat/spell-linter


📝 Commits (10+)

  • 8f7ba97 chore: configure cspell
  • af77636 chore: fix typos
  • b30da37 chore: add words
  • 91f9a73 chore: fix typos
  • 2e86e3c chore: refine exclusions and words
  • 1cf307f chore: add spellcheck exclusions and fixes
  • 9a0f03b chore: configure ci linting
  • 737b65e chore: actually create dictionaries
  • 252f107 chore: declare cspell as a dev dep
  • 01b065c Merge branch 'canary' into feat/spell-linter

📊 Changes

60 files changed (+979 additions, -58 deletions)

View changed files

.cspell.jsonc (+100 -0)
.cspell/alt-languages.txt (+2 -0)
.cspell/auth-terms.txt (+24 -0)
.cspell/company-names.txt (+24 -0)
.cspell/custom-words.txt (+15 -0)
.cspell/misspelled.txt (+4 -0)
.cspell/names.txt (+5 -0)
.cspell/tech-terms.txt (+38 -0)
.cspell/third-party.txt (+35 -0)
📝 .github/workflows/ci.yml (+7 -0)
📝 CONTRIBUTING.md (+1 -1)
📝 demo/nextjs/app/oauth/authorize/consent-buttons.tsx (+0 -0)
📝 demo/nextjs/app/oauth/authorize/page.tsx (+1 -1)
📝 demo/nextjs/components/ui/breadcrumb.tsx (+1 -1)
📝 demo/nextjs/lib/auth.ts (+1 -0)
📝 docs/components/api-method.tsx (+1 -1)
📝 docs/components/generate-apple-jwt.tsx (+1 -1)
📝 docs/components/logo-context-menu.tsx (+1 -1)
📝 docs/content/docs/adapters/postgresql.mdx (+1 -1)
📝 docs/content/docs/authentication/salesforce.mdx (+1 -1)

...and 40 more files

📄 Description

What is changing?

Adding a spell checker (cspell) as a way to automatically and quickly (through IDE integration) catch common misspelling mistakes.


Summary by cubic

Adds cspell-based spell checking with CI enforcement and custom dictionaries to catch typos early. Also fixes assorted typos and a wrong import path.

  • New Features

    • Introduced cspell with a shared config and project dictionaries (.cspell.jsonc and word lists).
    • Added pnpm lint:spell and a “Lint Spell” CI step.
    • Tuned ignore paths and regex rules to avoid false positives for IDs, secrets, and handles.
  • Bug Fixes

    • Corrected typos across docs, tests, and code comments.
    • Renamed consent-buttons.tsx and fixed the import in the OAuth authorize page.
    • Added cspell:disable-next-line in spots with random IDs, charsets, and non-English strings to suppress noise.

Written for commit 5cde592b55. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6319 **Author:** [@jonathansamines](https://github.com/jonathansamines) **Created:** 11/26/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `feat/spell-linter` --- ### 📝 Commits (10+) - [`8f7ba97`](https://github.com/better-auth/better-auth/commit/8f7ba972e500846aad8e767ed4954e5d9b4dcb2e) chore: configure cspell - [`af77636`](https://github.com/better-auth/better-auth/commit/af77636b858c83907f7cc129b0e623a890f2d7a3) chore: fix typos - [`b30da37`](https://github.com/better-auth/better-auth/commit/b30da379083e7bc45588e7fa6ebc505ba6b6238e) chore: add words - [`91f9a73`](https://github.com/better-auth/better-auth/commit/91f9a73b4e94df3ba08a523f9207e90a537f7cc3) chore: fix typos - [`2e86e3c`](https://github.com/better-auth/better-auth/commit/2e86e3c2fdf27168db4f78677f20155470aa0ffc) chore: refine exclusions and words - [`1cf307f`](https://github.com/better-auth/better-auth/commit/1cf307f8d5be8ab7d17c5c8e93284765f5c3d4bb) chore: add spellcheck exclusions and fixes - [`9a0f03b`](https://github.com/better-auth/better-auth/commit/9a0f03bbd389536a1383fcc1a65dc6ab559890db) chore: configure ci linting - [`737b65e`](https://github.com/better-auth/better-auth/commit/737b65e89c53d9959bcd1352647f716f08130604) chore: actually create dictionaries - [`252f107`](https://github.com/better-auth/better-auth/commit/252f107999de03c432f82715dd5aefe292e9625f) chore: declare cspell as a dev dep - [`01b065c`](https://github.com/better-auth/better-auth/commit/01b065c49e77612e20b154cf9890a2fd65413d26) Merge branch 'canary' into feat/spell-linter ### 📊 Changes **60 files changed** (+979 additions, -58 deletions) <details> <summary>View changed files</summary> ➕ `.cspell.jsonc` (+100 -0) ➕ `.cspell/alt-languages.txt` (+2 -0) ➕ `.cspell/auth-terms.txt` (+24 -0) ➕ `.cspell/company-names.txt` (+24 -0) ➕ `.cspell/custom-words.txt` (+15 -0) ➕ `.cspell/misspelled.txt` (+4 -0) ➕ `.cspell/names.txt` (+5 -0) ➕ `.cspell/tech-terms.txt` (+38 -0) ➕ `.cspell/third-party.txt` (+35 -0) 📝 `.github/workflows/ci.yml` (+7 -0) 📝 `CONTRIBUTING.md` (+1 -1) 📝 `demo/nextjs/app/oauth/authorize/consent-buttons.tsx` (+0 -0) 📝 `demo/nextjs/app/oauth/authorize/page.tsx` (+1 -1) 📝 `demo/nextjs/components/ui/breadcrumb.tsx` (+1 -1) 📝 `demo/nextjs/lib/auth.ts` (+1 -0) 📝 `docs/components/api-method.tsx` (+1 -1) 📝 `docs/components/generate-apple-jwt.tsx` (+1 -1) 📝 `docs/components/logo-context-menu.tsx` (+1 -1) 📝 `docs/content/docs/adapters/postgresql.mdx` (+1 -1) 📝 `docs/content/docs/authentication/salesforce.mdx` (+1 -1) _...and 40 more files_ </details> ### 📄 Description **What is changing?** Adding a spell checker ([cspell](https://cspell.org/)) as a way to automatically and quickly (through IDE integration) catch common misspelling mistakes. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds cspell-based spell checking with CI enforcement and custom dictionaries to catch typos early. Also fixes assorted typos and a wrong import path. - **New Features** - Introduced cspell with a shared config and project dictionaries (.cspell.jsonc and word lists). - Added pnpm lint:spell and a “Lint Spell” CI step. - Tuned ignore paths and regex rules to avoid false positives for IDs, secrets, and handles. - **Bug Fixes** - Corrected typos across docs, tests, and code comments. - Renamed consent-buttons.tsx and fixed the import in the OAuth authorize page. - Added cspell:disable-next-line in spots with random IDs, charsets, and non-English strings to suppress noise. <sup>Written for commit 5cde592b559985fefad8a214caa9817e3aed8f1a. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:04:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6589