Expand cSpell coverage to more file types - #42760
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR expands spellchecking coverage (cSpell) across additional file types in the repository, adds a local npm run spellcheck entrypoint, and updates the dictionary/config to accommodate the broader scan surface.
Changes:
- Add a
spellchecknpm script and includecspellas a dev dependency. - Expand the GitHub Actions cspell workflow to scan additional file types (and
.gitignore). - Update
.cspell.jsonwords/ignore settings to reduce false positives and exclude noisy paths.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Adds cspell devDependency and a spellcheck npm script targeting more file types. |
| package-lock.json | Updates lockfile to include cspell and its transitive dependencies. |
| .github/workflows/cspell.yml | Expands the workflow’s scanned file globs (includes .gitignore and more extensions). |
| .cspell.json | Extends dictionary/ignore settings to support the expanded scan scope. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+194
to
+196
| "ignoreRegExpList": [ | ||
| "\\u001[Bb]\\[[0-9;]*m" | ||
| ], |
julien-deramond
force-pushed
the
main-jd-expand-cspell-coverage
branch
from
July 28, 2026 06:27
48c5aaf to
9ba5678
Compare
julien-deramond
marked this pull request as ready for review
July 28, 2026 06:28
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
.cspell.json:175
ignoreRegExpListentry looks like an invalid Unicode escape:\u001[Bb]will be interpreted by the RegExp parser as a malformed\uescape (it expects 4 hex digits), which can cause cspell to error when loading the config. If the intent is to ignore ANSI color sequences (ESC +[...m), use\u001band escape the literal[properly.
"ignoreRegExpList": [
"\\u001[Bb]\\[[0-9;]*m"
],
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.
Description
Backport of 565eee6