Pin prettier version to 2.0.5 in both CI and CONTRIBUTING.md.

This commit is contained in:
Qi Xiao 2020-08-11 18:56:47 +01:00
parent 082052b5a8
commit c42755892e
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ checkstyle_md_task:
image: node:latest
env:
PATH: $HOME/.npm-packages/bin:$PATH
setup_script: npm install --global prettier
setup_script: npm install --global prettier@2.0.5
check_script: make checkstyle-md
deploy_task:

View File

@ -130,7 +130,7 @@ format Go files, and [prettier](https://prettier.io/) to format Markdown files.
```sh
go get golang.org/x/tools/cmd/goimports
npm install --global prettier
npm install --global prettier@2.0.5
```
Once you have installed the tools, use `make style` to format Go and Markdown