Skip to content

ryanleichty/prettier-plugin-astro

Repository files navigation

Beta Prettier Plugin for Astro -- 🚧 Caution! May break your project 🚧

  1. yarn add --dev prettier-plugin-astro or npm i -D prettier-plugin-astro
  2. yarn prettier . to check your formatting / yarn prettier -w . to fix your formatting.
  3. Add
"format": "yarn prettier -w .",

to your package.json and create a .prettierignore to ignore any files.

Contributing

To get setup:

  1. git clone git@github.com:snowpackjs/prettier-plugin-astro.git
  2. yarn
  3. Run tests with yarn test
  4. Lint code with yarn lint
  5. Format code with yarn format
  6. Run yarn changeset to add your changes to the changelog on version bump.

Resources for contributing

About

Prettier plugin for Astro

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.1%
  • JavaScript 0.9%