-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug?] Symlink'd plugins in node_modules
are not auto detected.
#8056
Comments
I don't think we support Can you try |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Prettier does support the |
@thorn0 It's true you don't support the |
I can reproduce on local, run |
Experiencing the same bug. But things are worse, because |
I was affected by exactly the same: simonhaenisch/prettier-plugin-organize-imports#34 IMO it should work out of the box. |
@Shinigami92 posted an example of this workaround on another thread, thought I'd link here for those wanting a temporary solution. It's a little bit of manual configuration, but pretty minor IMO. |
In pnpm settings, the plugin is not autodiscovered, so whe explicitly enable it in our config. See prettier/prettier#8056
Environments:
Steps to reproduce:
npm
to install prettier-plugin-organize-importsprettier foo.txs
This time, use
pnpm
which uses symlinks instead of copying packages tonode_modules
:pnpm
to install prettier-plugin-organize-importsprettier foo.tsx
from the command lineNow, add the plugin explicitly to
package.json
:Repeat step 2 above and observe that plugins are now organized.
Expected behavior:
Symlink'd plugins in
node_modules
are auto detected.Actual behavior:
Symlink'd plugins in
node_modules
are not auto detected.The text was updated successfully, but these errors were encountered: