Add comprehensive spell checking integration with CSpell#7
Merged
Conversation
Contributor
PR Validation ✅All checks passed! Ready for review. Checks Performed:
|
This commit introduces intelligent spell checking to the project:
- Added CSpell package with specialized dictionaries for CSS, HTML, npm, and TypeScript
- Created comprehensive cspell.json configuration with custom project dictionary
- Fixed typo in personal website project description ("sytem" -> "system")
- Added spell-check npm scripts for source files and built HTML
- Integrated spell checking into GitHub Actions CI/CD pipeline
- Updated .gitignore to exclude CSpell cache files
- Added SPELLCHECK.md documentation for usage and maintenance
- Enhanced justfile with spell-check commands for convenient development
The spell checker understands technical naming conventions (camelCase, PascalCase, etc.)
and integrates seamlessly with the existing linting and build process.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
d2489a7 to
4504471
Compare
Contributor
PR Validation ❌Some checks failed. Please review the errors above. Checks Performed:
|
Regenerated package-lock.json to resolve @rollup/rollup-linux-x64-gnu module loading issue in GitHub Actions Ubuntu environment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
PR Validation ❌Some checks failed. Please review the errors above. Checks Performed:
|
- Remove stale pnpm-lock.yaml that was causing version conflicts - Regenerate package-lock.json with consistent dependency resolution - Fix prettier version mismatch between package.json and lockfile 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
PR Validation ❌Some checks failed. Please review the errors above. Checks Performed:
|
- @astrojs/language-server requires prettier@^3.0.0 - Previous lockfile had prettier@2.8.7 which conflicted with CI expectations - Added prettier@^3.6.2 as explicit devDependency to satisfy all peer deps - Fixes npm ci lockfile sync errors in GitHub Actions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
PR Validation ✅All checks passed! Ready for review. Checks Performed:
|
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.
Summary
This PR introduces intelligent spell checking to the Astro-based static site using CSpell, providing comprehensive coverage for both source files and generated HTML output.
Key Features Added:
• Smart Technical Dictionary: Understands camelCase, PascalCase, kebab-case, and other technical naming conventions
• Specialized Dictionaries: Includes CSS, HTML, npm, and TypeScript-specific terms
• Dual-Phase Checking: Validates both source files during development and built HTML in CI/CD
• Custom Dictionary: Project-specific terms stored in
cspell.jsonfor easy maintenance• Developer-Friendly: Integrated with justfile for convenient local usage
Changes Made:
• Added CSpell with specialized dictionaries (
@cspell/dict-css,@cspell/dict-html,@cspell/dict-npm,@cspell/dict-typescript)• Created comprehensive
cspell.jsonconfiguration with custom project dictionary• Fixed typo in personal website project description ("sytem" → "system")
• Added npm scripts:
spellcheck,spellcheck:html,spellcheck:all,validate:all• Integrated spell checking into GitHub Actions workflow with proper staging
• Updated
.gitignoreto exclude CSpell cache files• Added
SPELLCHECK.mddocumentation with usage examples and maintenance guidelines• Enhanced
justfilewith spell-check commands for streamlined development workflowCI/CD Integration:
The GitHub Actions workflow now includes:
This ensures all content is validated before deployment while maintaining fast feedback loops.
Developer Experience:
The spell checker integrates seamlessly with the existing ESLint workflow and respects the project's strict quality standards.
🤖 Generated with Claude Code