-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Yarn Plug'n'Play #186
Comments
This is already possible by using a
'use strict';
require('./.pnp.js').setup();
/** @type { import("@cspell/cspell-types").CSpellUserSettings } */
const cspell = {
description: 'Make cspell Yarn 2 PNP aware',
import: [
"@cspell/dict-medicalterms/cspell-ext.json"
]
};
module.exports = cspell;
{
"import": [
"./cspell.config.js"
]
} Try it out with:
|
Note: the The VS Code Spell checker is using |
Gave this a shot, replacing
|
That should have worked. It is having trouble loading |
Thank you! |
@Kurt-von-Laven |
Also fixed in streetsidesoftware/cspell#1307. |
The GitHub Action works great so long as you are installing any additional dictionaries that may be needed to node_modules. If you are using Yarn Plug'n'Play, then the GitHub Action will succeed, but you will see the following output if you inspect it.
This typically happens when a library sources a dependency without using
import
orrequire
.The text was updated successfully, but these errors were encountered: