pre-commit hook doc
This commit is contained in:
@@ -21,3 +21,12 @@ deno task dev
|
|||||||
```
|
```
|
||||||
|
|
||||||
It should launch properly, go at http://localhost:3000
|
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`
|
||||||
|
|||||||
Reference in New Issue
Block a user