prettier-cli icon indicating copy to clipboard operation
prettier-cli copied to clipboard

Override option support for plugins

Open IanVS opened this issue 11 months ago • 8 comments

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.

IanVS avatar Mar 15 '24 14:03 IanVS