Skip to content

Commit

Permalink
chore: adds test file exclusion to linters
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Singh <[email protected]>
  • Loading branch information
semmet95 committed Dec 15, 2024
1 parent 895dfeb commit 6ebc20b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
issues:
exclude:
- (.*)_test\.go$
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ codegen:
go mod tidy

lint: codegen
go run github.com/golangci/golangci-lint/cmd/golangci-lint run
go run github.com/golangci/golangci-lint/cmd/golangci-lint run ./...

build: codegen lint
build: codegen
go build

unit-tests:
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/server.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ebc20b

Please sign in to comment.