git clone git@github.com:withastro/prettier-plugin-astro.gityarnyarn build- Run tests with
yarn testoryarn test:wfor watch mode - 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.
- A single test file can be run with
yarn test *file-name* - To skip one or more tests in a file, add comments to them individually
- Watch mode won't rerun tests when changing an input/output file