ci,chore: add codespell support with configuration and fixes#782
ci,chore: add codespell support with configuration and fixes#782yarikoptic wants to merge 4 commits into
Conversation
- Skip fixtures/ directory (test fixtures with intentional duplicate code) - Add afterall (JS test framework), inout (SQL keyword), acter (part of CHAR(?:ACTER|SET)? regex) to ignore-words-list Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Fixed typo:
- programing -> programming (apps/jscpd/README.md)
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
=== Do not change lines below ===
{
"chain": [],
"cmd": "uvx codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
WalkthroughA Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reviewing your PR now. Will share feedback in a few minutes! |
Since just 1 minor typo fixed - feel free to ignore or cherrypick etc... just my way to say "thanks" for a nice tool is by making world free of typos ;)
Add codespell configuration and fix existing typo.
More about codespell: https://github.com/codespell-project/codespell
I personally introduced it to over a hundred of projects already mostly with a positive feedback
(see the "improveit-dashboard").
CI workflow has 'permissions' set only to 'read' so also should be safe.
Changes
Configuration & Infrastructure
.codespellrcwith skip patterns for fixtures, SVGs, CSS, lock filesDomain-Specific Whitelist
Added legitimate terms that codespell flags as typos:
afterall- JS test framework function (afterAll)inout- SQL keyword (INOUT)acter- part ofCHAR(?:ACTER|SET)?regex pattern for SQL keywordsTypo Fixes
Non-ambiguous typo fixed (1 fix):
programing->programming(apps/jscpd/README.md)Historical Context
This project has had 39 prior commits fixing typos manually, demonstrating the value of automated spell-checking.
Testing
Codespell passes with zero errors after all fixes.
Generated with Claude Code and love to typos free code
This change is
Summary by CodeRabbit
Documentation
Chores