Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imballinst/test-astro-with-prettier-3


https://github.com/imballinst/test-astro-with-prettier-3

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

# test-astro-with-prettier-3

Basically today I was confused on why Prettier wouldn't format Astro files. Turns out it's because:

- Latest `prettier-plugin-astro` requires Prettier 3.
- Prettier 3 requires explicit `plugins` and `overrides` in order to programatically format files.
- Visual Studio Code requires the Astro to be used as default formatter when formatting Astro files.