Skip to content

vineryap/prettier-plugin-astro

 
 

Repository files navigation

Beta Prettier Plugin for Astro

  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:withastro/prettier-plugin-astro.git
  2. yarn
  3. yarn build
  4. Run tests with yarn test
  5. Lint code with yarn lint
  6. Format code with yarn format
  7. Run yarn changeset to add your changes to the changelog on version bump. Most changes to the plugin should be patch changes while we're before 1.0.0.

Resources for contributing

About

WIP Prettier Plugin for Astro, mostly works!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.3%
  • JavaScript 0.7%