chore: upgrade tools (#26220)
This commit is contained in:
parent
b18c36c0c0
commit
8d71350768
9 changed files with 16 additions and 22 deletions
4
Makefile
4
Makefile
|
|
@ -53,10 +53,10 @@ docs::
|
|||
|
||||
lint::
|
||||
golangci-lint run
|
||||
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@v0.20.0 -test -category "-omitzero" -c 0 ./...
|
||||
go tool modernize -test -c 0 -stringsbuilder=false -omitzero=false ./...
|
||||
|
||||
modernize:
|
||||
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@v0.20.0 -test -category "-omitzero" -fix ./...
|
||||
go tool modernize -test -fix -stringsbuilder=false -omitzero=false ./...
|
||||
|
||||
lint-ui::
|
||||
npm run lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue