git clone [email protected]:withastro/prettier-plugin-astro.git
yarn
yarn build
- Run tests with
yarn test
oryarn test:w
for watch mode - Lint code with
yarn lint
- Format code with
yarn format
- Run
yarn changeset
to add your changes to the changelog on version bump. Most changes to the plugin should bepatch
changes 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