-
Notifications
You must be signed in to change notification settings - Fork 29
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
Ability to selectively disable / enable in IDE #157
Comments
This seems to be a prettier bug. However, for solving this, you can add on documented option |
|
That'd be great! However it doesn't appear to be working (at least with Prettier 2.6.0). With this
This config:
Yields for
Doing a little debugging, the Would you be willing to add a global option for to enable the plugin that defaults to true? |
Fixed v0.3.34 |
Edit: I realize that the "fixed" comment refers to the setting not working rather than the Prettier bug. The setting does work for us. Out of curiosity, does anyone know if this has been fixed in Prettier v3, or if there's an issue to track it? |
I tested with this config, but I didn't face with problem again. |
I'm trying to adopt this in a monorepo one package at a time. The docs say that to "ignore some type of files remove "prettier-plugin-jsdoc" from plugins or add empty plugins".
I've tried both and Prettier's autoloader still enables it. For example, with this minimal config it still runs this jsdoc plugin,
I wonder if that advice was for an older version of Prettier. Can anyone confirm these instructions in the README work for them?
In Prettier 2.6 plugins will be autoloaded, which can be disabled, but once they're loaded it's not clear to me that Prettier supports disabling them. For the IDE case I need the plugin to be loaded so the paths that use it can be formatted and there's no way to "unload" it for the other paths.
The text was updated successfully, but these errors were encountered: