1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-28 03:57:09 +02:00

[chore] Add bodyclose linter (#5659)

Add https://golangci-lint.run/usage/linters/#bodyclose linter.

PR in contrib:
https://github.com/open-telemetry/opentelemetry-go-contrib/pull/5962
This commit is contained in:
Robert Pająk 2024-08-01 07:11:57 +02:00 committed by GitHub
parent e2b0751cd1
commit 972c919ea0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@ linters:
# Specifically enable linters we want to use.
enable:
- asasalint
- bodyclose
- depguard
- errcheck
- errorlint