-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Override option support for plugins #9
Comments
The new CLI is not fully featured just yet, only a few weeks of work has been put into it. |
No judgement! Just wasn't sure if it was intentional or not, so I knew how to proceed with some of my plugin work. Thanks! |
@IanVS do you have some kind of repro about this? |
Slightly unrelated, but apparently if plugins are not listed via the |
I was traveling but am back now, do you still need a repro? And I think it's probably fine not to show plugin options in help, personally. It's not something I would really expect to find in a cli help. |
If you have one it would be good as I could check if I actually fixed your issue.
Today if the plugin is specified via the |
I think this commit should fix the problem. Let's wait until |
This might be related to #5, but I found that while my plugin does work with the latest version of this CLI, override plugin options do not. It seems that
normalizeFormatOptions
has a strict allowlist of option names, so any that my plugin adds are stripped out. Is that intentional? FWIW, it seems to be working fine in prettier 3.x.The text was updated successfully, but these errors were encountered: