From a26516c6e85d270a4e2773db1eab300b1e50b5dd Mon Sep 17 00:00:00 2001 From: cdricms <36056008+cdricms@users.noreply.github.com> Date: Sun, 12 Jan 2025 23:53:36 +0100 Subject: [PATCH] pre-commit hook doc --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9fa609d..66ab45e 100644 --- a/README.md +++ b/README.md @@ -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`