update README
This commit is contained in:
parent
b805935d69
commit
b075c88b3a
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
@ -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}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue