pre-commit hook doc

This commit is contained in:
cdricms
2025-01-12 23:53:36 +01:00
parent 2680a8ed8d
commit a26516c6e8

View File

@@ -21,3 +21,12 @@ deno task dev
```
It should launch properly, go at http://localhost:3000
## Committing
There's a pre-commit hook to format. To set it up, first install [pre-commit](https://pre-commit.com/#installation)
Then run `pre-commit install`
[Prettier](https://prettier.io/docs/en/install) needs to be installed on your system:
`npm i -g prettier`