Skip to content

Commit

Permalink
Enabled lint logging; disable deprecated exportloopref
Browse files Browse the repository at this point in the history
  • Loading branch information
levan-m committed Oct 23, 2024
1 parent f63f5d0 commit 20a414e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"dupword",
"intrange",
"mnd",
"musttag"
"musttag",
"exportloopref"
]

[issues]
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ patch-crds: bin/$(PLATFORM)/yq ## Patch-crds

.PHONY: lint
lint: bin/$(PLATFORM)/golangci-lint fmt vet ## Lint
bin/$(PLATFORM)/golangci-lint run ./...
bin/$(PLATFORM)/golangci-lint linters
bin/$(PLATFORM)/golangci-lint run --verbose ./...

.PHONY: licenses
licenses: bin/$(PLATFORM)/go-licenses
Expand Down

0 comments on commit 20a414e

Please sign in to comment.