1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

update README

This commit is contained in:
schaeff 2022-08-29 15:36:00 +02:00
parent b805935d69
commit b075c88b3a

View file

@ -37,10 +37,19 @@ We happily welcome contributions. You can either pick an existing issue or reach
Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work shall be licensed as above, without any additional terms or conditions.
### Git Hooks
#### Git Hooks
You can enable zokrates git hooks locally by running:
```sh
git config core.hooksPath .githooks
```
#### `{js,json,ts}` formatting
We enforce strict formatting of `.{js,json,ts}` files in CI. This check is not included in the git hooks. If you modify such a file, you can ensure its formatting is correct by running:
```
npm i -g prettier
prettier --write ./**/*.{js,ts,json}
```