added pre-commit section to readme

This commit is contained in:
Sebastian Sdorra
2018-07-25 08:57:38 +02:00
parent 743bd61ddd
commit 4465805585

View File

@@ -17,3 +17,11 @@ code --install-extension rebornix.project-snippets
# debugging with chrome browser
code --install-extension msjsdiag.debugger-for-chrome
```
## Install pre-commit hook
```bash
echo "" >> .hg/hgrc
echo "[hooks]" >> .hg/hgrc
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc
```