File tree Expand file tree Collapse file tree 3 files changed +15
-24
lines changed Expand file tree Collapse file tree 3 files changed +15
-24
lines changed Original file line number Diff line number Diff line change 1+ linters :
2+ # https://golangci-lint.run/usage/linters/#enabled-by-default-linters
3+ enable :
4+ # default linters
5+ - errcheck
6+ - gosimple
7+ - govet
8+ - ineffassign
9+ - staticcheck
10+ - unused
11+ # optional linters
12+ - goimports
13+
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ manifests:
5959# Run go fmt against code
6060.PHONY : fmt
6161fmt :
62- hack/goimports.sh
62+ go fmt ./...
6363
6464# Run go vet against code
6565.PHONY : vet
6969# Run golangci-lint against code
7070.PHONY : lint
7171lint :
72- ( GOLANGCI_LINT_CACHE=$( PROJECT_DIR) /.cache $( GOLANGCI_LINT) run --timeout 10m )
72+ ( GOLANGCI_LINT_CACHE=$( PROJECT_DIR) /.cache $( GOLANGCI_LINT) run --timeout 10m -v )
7373
7474# Run go mod
7575.PHONY : vendor
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments