Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 996 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (19 loc) · 996 Bytes

Contributing

To get set up

  1. git clone git@github.com:withastro/prettier-plugin-astro.git
  2. yarn
  3. yarn build
  4. Run tests with yarn test or yarn test:w for watch mode
  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.

Notes

  1. A single test file can be run with yarn test *file-name*
  2. To skip one or more tests in a file, add comments to them individually
  3. Watch mode won't rerun tests when changing an input/output file

Resources for contributing