Skip to content

Commit

Permalink
Move max-issues-per-linter to golangci config file
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 committed Nov 14, 2023
1 parent 4caa71a commit 960d60a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ linters-settings:
run:
go: "1.19"
timeout: 5m

issues:
max-issues-per-linter: 0
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test:

.PHONY: lint
lint:
golangci-lint run ./cmd/... ./pkg/... --timeout 7m --max-issues-per-linter 0
golangci-lint run ./cmd/... ./pkg/... --timeout 7m
go run ./devtools/translationlinter
-go run ./devtools/importlinter api api >.make-lint-expect 2>&1
-go run ./devtools/importlinter lib api util >> .make-lint-expect 2>&1
Expand Down

0 comments on commit 960d60a

Please sign in to comment.