-
Notifications
You must be signed in to change notification settings - Fork 141
Description
Is your feature request related to a problem? Please describe.
The current programs.prettier.settings has no freeform type and no way to add custom settings to the object. This is an issue when using plugins such as prettier-plugin-sort-import which add additional settings values to the config file, as they can't be added. Since the schema is passed into pkgs.formats.json {}.generate without additional sanitisation, the schema is overly strict.
Describe the solution you'd like
Add a freeform type to the settings schema or expose an additional settings option where freeform options can be added.
Describe alternatives you've considered
The current options are to add additional flags to the prettier command, or to use programs.prettier.settings.overrides with a broad files set to use the freeform settings option there.