-
-
Notifications
You must be signed in to change notification settings - Fork 948
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
Prettier plugins are not detected #3323
Comments
We are already hoisting the prettier plugins by default, is that not enough? pnpm/packages/config/src/index.ts Lines 175 to 176 in e127930
It should work unless you override the default value of |
We use You can test it in this repository: Removing plugins entry breaks prettier. |
as a workaround i'm using prettier js conf and require for the plugin: |
@zkochan unfortunately it's not enough. Prettier also searches for namespaced plugins such as |
I also have the same problem and I am using it for xml files. I need to explicitly give plugin and following command works |
This should no longer be relevant with prettier v3 as plugin detection has been removed. |
pnpm version: all
Code to reproduce the issue:
I am making the issue here as the original Prettier developers are not open to the fix for this.
prettier/prettier#9167
prettier/prettier#8056
sveltejs/prettier-plugin-svelte#155
Expected behavior: Prettier plugins should work without listing them
Actual behavior: Requires listing them
Additional information:
node -v
prints: anyThe text was updated successfully, but these errors were encountered: