Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support prettier key as a configuration option in package.json #832

Open
yeskunall opened this issue Dec 28, 2024 · 1 comment
Open

Support prettier key as a configuration option in package.json #832

yeskunall opened this issue Dec 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@yeskunall
Copy link

Prettier supports passing prettier as a key to package.json (or package.yml). It is actually the first thing it checks, based on the order of precedence.

It would be great if prettierd also supported this.


Thanks for working on this! 💖

@fsouza fsouza added the enhancement New feature or request label Jan 3, 2025
@fsouza
Copy link
Owner

fsouza commented Jan 3, 2025

hmm I thought this would just work? Under the hood, prettierd is invoking prettier's resolveConfig and I assumed that supported package.json, but probably not hah

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants