Skip to content

Commit

Permalink
chore: Update golangci-lint to v1.61.0 and exclude G115 from gosec li…
Browse files Browse the repository at this point in the history
…nter
  • Loading branch information
AnkushinDaniil committed Sep 17, 2024
1 parent 84943f6 commit df47841
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ linters-settings:
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
gosec:
excludes:
- G115 #TODO: remove after fixing https://github.com/securego/gosec/issues/1212

linters:
disable-all: true
Expand All @@ -66,7 +69,7 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- copyloopvar
- gochecknoinits
- goconst
- gocritic
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ e2e:

.PHONY: install-golangci-lint
install-golangci-lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.1
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0

.PHONY: lint
lint:
Expand Down

0 comments on commit df47841

Please sign in to comment.