Skip to content

Commit 877cdd6

Browse files
committed
Use golangcilint for formatting
1 parent a63e45d commit 877cdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-monorepo/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "for_each_gomod go build -v ./...",
2626
// TODO: fmt and lint is not correctly running on all projects.
2727
// Some projects need "devbox run fmt" and "devbox run lint".
28-
"fmt": "find . -name '*.go' -not -path '*/gen/*' -exec gofumpt -w -l {} \\+",
28+
"fmt": "for_each_gomod golangci-lint fmt --timeout ${GOLANGCI_LINT_TIMEOUT:-600s}",
2929
"lint": "for_each_gomod golangci-lint run --timeout ${GOLANGCI_LINT_TIMEOUT:-600s}",
3030
"test": "for_each_gomod go test -race -cover -v ./...",
3131
}

0 commit comments

Comments
 (0)