-
Notifications
You must be signed in to change notification settings - Fork 37
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
🐛 BUG: [error] No parser could be inferred for file #428
Comments
Same issue here, followed README.md but simply doesn't work with latest dependencies |
Same issue for me, made it work using
|
I don't know if this may help some, or if it is unrelated, but if you are running into these issues it may be worth checking to see if there are any conflicting settings in your VSCode config. In my setup what started as The latter was the result of an erroneous setting in my VSCode Once this was removed everything fell into place. |
bnjmnrsh thanks for your comment. it helped me. i was struggling to find out that my prettier config file was prettierrc.mjs instead of .prettierrc.mjs |
Describe the Bug
I realize this one is very similar to #97 but none of the suggested solutions work for me. I use the suggested config
and VSCode configuration
and the formatting doesn't work both when doing it directly in VSCode
and from command line with
prettier --write **/*.astro src
I'm using prettier 3.3.3 and your plugin 0.14.1. My project is private but is directly based on https://astro.build/themes/details/aria/
Steps to Reproduce
Try to add prettier to https://github.com/ccbikai/astro-aria and make it format *.astro files, it won't work.
The text was updated successfully, but these errors were encountered: