Add codespell support with configuration and fixes#1155
Open
yarikoptic wants to merge 5 commits intojpanther:devfrom
Open
Add codespell support with configuration and fixes#1155yarikoptic wants to merge 5 commits intojpanther:devfrom
yarikoptic wants to merge 5 commits intojpanther:devfrom
Conversation
Skip minified JS libraries (*/lib/*), cache dirs (.npm, .cache), generated Lighthouse report, sample/demo content (Lorem Ipsum), and non-English locale files (*.de.*, *.es.*, etc.) to eliminate false positives from foreign language content. Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
Fixed typos:
- paramater -> parameter (CHANGELOG.md)
- exclaimation -> exclamation (exampleSite/content/docs/shortcodes/index.md)
- strucured -> structured (exampleSite/content/docs/version-2/_index.md)
- languagues -> languages (exampleSite/content/docs/version-2/upgrade/index.md, index.ja.md, index.zh-Hans.md)
- requried -> required (exampleSite/content/docs/version-2/upgrade/index.md)
- dispalyed -> displayed (exampleSite/content/docs/version-2/upgrade/index.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 ^^^
✅ Deploy Preview for hugo-congo ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add codespell configuration and fix existing typos.
More about codespell: https://github.com/codespell-project/codespell
I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.
CI workflow has 'permissions' set only to 'read' so also should be safe.
Changes
Configuration & Infrastructure
.codespellrcconfiguration with comprehensive skip patternsdev.npm/to.gitignore(local cache directory)Skip Patterns
Configured to skip:
*/lib/*).npm,.cache)lighthouse.html)samples)*.de.md,*.es.md,*.de.toml,*.es.toml,*.ja.toml,*.zh-Hans.toml)Typo Fixes (9 fixes in 6 files)
All non-ambiguous, fixed automatically via
codespell -w:paramater→parameter(CHANGELOG.md)exclaimation→exclamation(shortcodes docs)strucured→structured(version-2 announcement)languagues→languages(upgrade docs — English, Japanese, Chinese versions)requried→required(upgrade docs)dispalyed→displayed(upgrade docs)Historical Context
This project has had 55 prior commits fixing typos manually, demonstrating the value of automated spell-checking.
Testing
🤖 Generated with Claude Code and love to typos free code