Skip to content

chore: integrate cspell and fix spelling issues#188

Merged
hardfist merged 4 commits intomainfrom
cspell_0807
Aug 7, 2025
Merged

chore: integrate cspell and fix spelling issues#188
hardfist merged 4 commits intomainfrom
cspell_0807

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented Aug 7, 2025

Summary

  • Integrate cspell for spell checking.
  • Added the check-spell script to package.json and updated the CI workflow to run spell checking
  • Some typo corrections

Copilot AI review requested due to automatic review settings August 7, 2025 08:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@chenjiahan chenjiahan requested a review from hardfist August 7, 2025 08:52
@hardfist hardfist merged commit d9d2d7b into main Aug 7, 2025
4 checks passed
@hardfist hardfist deleted the cspell_0807 branch August 7, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants