mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-27 23:11:20 +08:00
Upgrade prettier to 2.7.1.
This commit is contained in:
parent
ed97664695
commit
bc4193122f
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user