Skip to content
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

Bad Defaults Interaction #14

Open
jpulec opened this issue Dec 2, 2021 · 0 comments
Open

Bad Defaults Interaction #14

jpulec opened this issue Dec 2, 2021 · 0 comments

Comments

@jpulec
Copy link

jpulec commented Dec 2, 2021

It seems that minimist is providing default values for some options that are not always the same as what the defaults are for prettier. This becomes an issue when trying to using a prettier config file that only specifies some options, but expects to fall back to prettier's defaults for others. This is because currently, when using the file-override config preference, the default values from minimist are being overridden by the resolved prettier config, but resolveConfig only returns what it finds in a config file, and does not have keys for any default options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant