Skip to content

Commit

Permalink
Do not lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Jan 19, 2024
1 parent 07ac95b commit 9edc5a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
run:
timeout: 5m
tests: false
sort-results: true
allow-parallel-runners: true

linters-settings:
gci:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(GOLANGCI): $(LOCALBIN)

.PHONY: lint
lint: golangci
golangci-lint run --tests=false ./... --timeout 5m
golangci-lint run ./... --timeout 5m

GOLANGCI ?= $(LOCALBIN)/golangci-lint

Expand Down

0 comments on commit 9edc5a9

Please sign in to comment.