# Contributing ## To get set up 1. `git clone git@github.com:ghepes/prettier-plugin-wromo.git` 1. `yarn` 1. `yarn build` 1. Run [tests](https://vitest.dev/guide/) with `yarn test` or `yarn test:w` for watch mode 1. Lint code with `yarn lint` 1. Format code with `yarn format` 1. 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`. ## Notes 1. A single test file can be run with `yarn test *file-name*` 1. To skip one or more tests in a file, add comments to them individually 1. Watch mode won't rerun tests when changing an input/output file ## Resources for contributing - [Prettier rationale](https://prettier.io/docs/en/rationale.html) - [Prettier plugin docs](https://prettier.io/docs/en/plugins.html) - [Svelte Prettier plugin](https://github.com/sveltejs/prettier-plugin-svelte) - [Prettier HTML formatter](https://github.com/prettier/prettier/tree/main/src/language-html)