mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
Pin prettier version to 2.0.5 in both CI and CONTRIBUTING.md.
This commit is contained in:
parent
082052b5a8
commit
c42755892e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user