Package Exports
- prettier-plugin-astro
- prettier-plugin-astro/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettier-plugin-astro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Beta Prettier Plugin for Astro
Install prettier-plugin-astro
yarn add --dev prettier-plugin-astroornpm i -D prettier-plugin-astroyarn prettier .to check your formatting /yarn prettier -w .to fix your formatting.- Add
"format": "yarn prettier -w .",to your package.json and create a .prettierignore to ignore any files.
Contributing
To get setup:
git clone git@github.com:snowpackjs/prettier-plugin-astro.gityarnyarn build- Run tests with
yarn test - Lint code with
yarn lint - Format code with
yarn format - Run
yarn changesetto add your changes to the changelog on version bump. Most changes to the plugin should bepatchchanges while we're before1.0.0.