chore: integrate cspell and fix spelling issues#188
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR integrates cspell for spell checking across the codebase and fixes numerous spelling errors. It adds spell checking to the CI workflow to catch future spelling issues and creates a comprehensive dictionary for project-specific terms.
- Adds cspell configuration and integrates spell checking into the CI pipeline
- Fixes multiple spelling errors in variable names, function names, and comments
- Creates a comprehensive dictionary of project-specific terms and technical jargon
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
cspell.config.cjs |
Adds cspell configuration with file patterns, ignore paths, and custom dictionary |
scripts/dictionary.txt |
Creates comprehensive dictionary of project-specific terms, tools, and technical words |
package.json |
Adds check-spell script using cspell |
.github/workflows/ci.yml |
Integrates spell checking into CI workflow |
tools/gen_shims/main.go |
Renames variable from strct to structType for clarity |
internal/rules/no_unsafe_assignment/no_unsafe_assignment.go |
Fixes typo in comment: "PropertyDefintion" → "PropertyDefinition" |
internal/rules/no_redundant_type_constituents/no_redundant_type_constituents.go |
Renames variables from overriden* to overridden* for correct spelling |
internal/config/config.go |
Fixes function name: "TypeSript" → "TypeScript" |
cmd/rslint/lsp.go |
Updates function call to use corrected spelling |
cmd/rslint/cmd.go |
Updates function call to use corrected spelling |
cmd/rslint/api.go |
Updates function call to use corrected spelling |
CLAUDE.md |
Updates documentation to reference corrected function name |
hardfist
approved these changes
Aug 7, 2025
ScriptedAlchemy
pushed a commit
that referenced
this pull request
Aug 7, 2025
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
check-spellscript topackage.jsonand updated the CI workflow to run spell checking