Skip to content

Commit

Permalink
golang ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Feb 20, 2024
1 parent 450d92e commit 902cb07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ linters:
- ineffassign
- misspell
- nakedret
- nolintlint
- staticcheck
- stylecheck
- typecheck
Expand All @@ -40,10 +39,13 @@ issues:
- text: "ST1016:"
linters:
- stylecheck
- path: "migrations"
text: "SA1019:"
- text: "SA1019:"
linters:
- staticcheck
- path: "crypto/keyring"
text: "G306:"
linters:
- gosec

max-issues-per-linter: 10000
max-same-issues: 10000
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ golangci_version=v1.51.2
lint:
@echo "--> Running linter"
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
@$(golangci_lint_cmd) run --timeout=10m
@$(golangci_lint_cmd) run --timeout=10m -c .golangci.yml

lint-fix:
@echo "--> Running linter"
Expand Down

0 comments on commit 902cb07

Please sign in to comment.