Skip to content

Work around check-spelling v0.0.26 bug - #20545

Open
Josh Soref (jsoref) wants to merge 1 commit into
microsoft:mainfrom
jsoref:workaround-check-extra-dictionaries
Open

Work around check-spelling v0.0.26 bug#20545
Josh Soref (jsoref) wants to merge 1 commit into
microsoft:mainfrom
jsoref:workaround-check-extra-dictionaries

Conversation

@jsoref

Copy link
Copy Markdown
Contributor

Summary of the Pull Request

In v0.0.26, check_extra_dictionaries isn't honored from config.json for pull requests

Leave cspell with the value from v0.0.26, and use cspell1 for the active dictionaries.

References and Relevant Issues

Detailed Description of the Pull Request / Additional comments

check-spelling v0.0.26 has a minor bug where it doesn't honor check_extra_dictionaries from config.json in pull requests (it does for pushes). I missed it in testing (it's fixed in prerelease).

The workaround is to use a different alias in config.json for the check_extra_dictionaries and reserve cspell for the current version of check-spelling (currently v0.0.26). When the repository updates to the next version, that aliasing can be dropped (and at some point, once people are all relying on config.json, I'll probably upgrade the defaults, but until people are using a version of config.json that can tolerate such jitter, I don't want to do that...).

Validation Steps Performed

PR Checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated
    • If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)

In v0.0.26, check_extra_dictionaries isn't honored from config.json for pull requests

Leave `cspell` with the value from v0.0.26, and use `cspell1` for the active dictionaries.
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.

1 participant