prettier-cli
prettier-cli copied to clipboard
Override option support for plugins
This might be related to https://github.com/prettier/prettier-cli/issues/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.