2018-07-12 08:56:19 +02:00
|
|
|
# scm-ui
|
|
|
|
|
|
|
|
|
|
## VSCode Plugins
|
|
|
|
|
|
|
|
|
|
* EditorConfig for VS Code
|
|
|
|
|
* Flow Language Support
|
|
|
|
|
* Prettier - Code formatter
|
|
|
|
|
* Project Snippets
|
2018-07-13 10:57:11 +02:00
|
|
|
* Debugger for Chrome
|
2018-07-12 08:56:19 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
code --install-extension EditorConfig.EditorConfig
|
|
|
|
|
code --install-extension flowtype.flow-for-vscode
|
|
|
|
|
code --install-extension esbenp.prettier-vscode
|
|
|
|
|
code --install-extension rebornix.project-snippets
|
2018-07-13 10:57:11 +02:00
|
|
|
|
|
|
|
|
# debugging with chrome browser
|
|
|
|
|
code --install-extension msjsdiag.debugger-for-chrome
|
2018-07-12 08:56:19 +02:00
|
|
|
```
|
2018-07-25 08:57:38 +02:00
|
|
|
|
|
|
|
|
## Install pre-commit hook
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
echo "" >> .hg/hgrc
|
|
|
|
|
echo "[hooks]" >> .hg/hgrc
|
|
|
|
|
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc
|
|
|
|
|
```
|