Upgrade prettier to 2.7.1.

This commit is contained in:
Qi Xiao 2022-06-23 20:32:11 +01:00
parent ed97664695
commit bc4193122f
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ jobs:
- name: Set up Node prefix
run: npm config set prefix $NPM_PREFIX
- name: Set up prettier
run: npm install --global prettier@2.3.1
run: npm install --global prettier@2.7.1
- name: Check style
run: ./tools/checkstyle-md.sh

View File

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