Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imballinst/test-astro-with-prettier-3
- Owner: imballinst
- Created: 2023-11-07T14:03:55.000Z (almost 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-07T14:28:02.000Z (almost 1 year ago)
- Last Synced: 2024-05-02T02:26:40.185Z (6 months ago)
- Language: Astro
- Size: 28.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.