Skip to content

Commit

Permalink
Update golangci version, avoid false positive SA1003
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Sep 4, 2024
1 parent 442b5a8 commit 2b17b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ linters-settings:
excludes:
- G107 # variables in URLs
- G404 # use of weak random generator
- G115 # Disable for now due to the *many* warnings

gocritic:
disabled-checks:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ generate: tidy

# Coding style static check.
lint: tidy
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.3
@go mod tidy
golangci-lint run

Expand Down

0 comments on commit 2b17b7c

Please sign in to comment.