chore: fix lint
This commit is contained in:
parent
f00b5a0c4b
commit
460b4878d8
1 changed files with 2 additions and 2 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@latest -test -category "-omitzero" -c 0 ./...
|
||||
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@v0.20.0 -test -category "-omitzero" -c 0 ./...
|
||||
|
||||
modernize:
|
||||
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -test -category "-omitzero" -fix ./...
|
||||
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@v0.20.0 -test -category "-omitzero" -fix ./...
|
||||
|
||||
lint-ui::
|
||||
npm run lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue