Skip to content
Discussion options

You must be logged in to vote

The {file} syntax is not implemented so the formatter is being called like:

cat test.css | prettier --stdin-filepath {file}

Instead you can configure the formatter with a dummy file name like

formatter = { command = "prettier", args = ["--stdin-filepath", "test.css"] }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by richardhttps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #13270 on April 06, 2025 17:46.