From bc4193122fcb89ea9de37ae0a3226ba44092b87f Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Thu, 23 Jun 2022 20:32:11 +0100 Subject: [PATCH] Upgrade prettier to 2.7.1. --- .github/workflows/ci.yml | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fde0b25..194e10b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d9d00d5..812060d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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