- Clone the repository
cd prettier-plugin-void-html
npm install
This project uses the native Node.js test runner with node:assert
. Make sure you use a compatible version of Node.js in order to be able to run these.
The tests are all contained in the test.js
file. Run them with npm run test
.
This is about as simple as it gets.
prettier-plugin-void-html.js
implements the plugin. See the Prettier documentation for plugins.test.js
contains the tests.
Please open a Pull Request to this repository to contribute your change.