Spell check scanning of package at sdk/cognitiveservices/ms-azure-cs-spellcheck detected spelling errors in the public API surface. This directory is opted out of PR spell checking in PR #31526 to keep PRs unblocked.
What to do
- Ensure Node.js is installed (https://nodejs.org/en/download/).
- Delete the entry in
.vscode/cspell.json's ignorePaths field. It will look like: sdk/cognitiveservices/ms-azure-cs-spellcheck/**. You need to do this to enable checking the files.
- From the root of the repo run spell check using
./eng/common/spelling/Invoke-Cspell.ps1 -ScanGlobs "sdk/cognitiveservices/ms-azure-cs-spellcheck/**"
- Fix detections according to http://aka.ms/azsdk/engsys/spellcheck use the "False positives" section to fix false positives
- Check in changes (including the change to
.vscode/cspell.json where the ignorePaths is updated to remove the entry for this service.). You may need to run git add -f .vscode/cspell.json to force adding the changes to the file in git.
Spell checking output
./sdk/cognitiveservices/ms-azure-cs-spellcheck/src/main/java/com/microsoft/azure/cognitiveservices/language/spellcheck/BingSpellCheckManager.java:52:57 - Unknown word (Apim)
Spell check scanning of package at
sdk/cognitiveservices/ms-azure-cs-spellcheckdetected spelling errors in the public API surface. This directory is opted out of PR spell checking in PR #31526 to keep PRs unblocked.What to do
.vscode/cspell.json'signorePathsfield. It will look like:sdk/cognitiveservices/ms-azure-cs-spellcheck/**. You need to do this to enable checking the files../eng/common/spelling/Invoke-Cspell.ps1 -ScanGlobs "sdk/cognitiveservices/ms-azure-cs-spellcheck/**".vscode/cspell.jsonwhere theignorePathsis updated to remove the entry for this service.). You may need to rungit add -f .vscode/cspell.jsonto force adding the changes to the file in git.Spell checking output