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

prettier.config.js doesn't load in extension #619

Open
charlespwd opened this issue Nov 26, 2024 · 0 comments
Open

prettier.config.js doesn't load in extension #619

charlespwd opened this issue Nov 26, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@charlespwd
Copy link
Contributor

charlespwd commented Nov 26, 2024

Describe the bug
When a user has a ESM prettier config (prettier.config.js), the formatter doesn't do anything and logs the error to the "Output > Window" logs. Nothing happens and there's no feedback to the user.

Expected behaviour
We support modern prettier configs, or we gracefully handle config errors by using default configuration/error message to user.

Actual behaviour
Nothing happens and the logs are in a different log window. It's confusing as hell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant