You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When we run CSpell through MegaLinter in CI, "nanoserver" and "ltsc", which are words in the CSpell's win32 dict, come up as false positives despite us having installed and configured the win32 dict.
To Reproduce
Steps to reproduce the behavior:
Run yarn init.
Run yarn add --dev @cspell/dict-win32@2.0.1.
Paste in a minimal CSpell config that includes the CSpell win32 dict.
Paste in a minimal MegaLinter config.
Make a file containing the strings "ltsc" and "nanoserver".
Make a GitHub Action test workflow to run MegaLinter.
Push to GitHub and note that CSpell incorrectly fails on the words "ltsc" and "nanoserver".
Notably, the issue does not occur when running CSpell directly (e.g., npx cspell@6.31.1 .). As a workaround, one can install the unbundled dictionary in question using a pre-command in one's MegaLinter config:
Eliminate the need to manually install the CSpell win32 dict locally in
order for the VS Code CSpell extension to have access to that
dictionary. Keep the manual installation pre-command for now; it is
a workaround for oxsecurity/megalinter#2500.
I see you found a workaround, I close the issue :)
Please reopen if you think something can be done within MegaLinter (apart from adding all dictionaries by default in the docker image)
Duplicate #1572 since this is also caused by the fact that CSpell can't see Yarn dependencies when not run via Yarn. This issue would also be addressed by accepting arrays in _CLI_EXECUTABLE, thereby allowing users to run CSpell via Yarn. Still open to better ideas.
Describe the bug
When we run CSpell through MegaLinter in CI, "nanoserver" and "ltsc", which are words in the CSpell's
win32
dict, come up as false positives despite us having installed and configured thewin32
dict.To Reproduce
Steps to reproduce the behavior:
yarn init
.yarn add --dev @cspell/dict-win32@2.0.1
.Here is a minimum reproduction
Here is the PR where we had this problem: ScribeMD/docker-cache#475
Expected behavior
Expect CSpell to pass on the words "ltsc" and "nanoserver".
Thank you for your help!!!
The text was updated successfully, but these errors were encountered: