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:
parent
e2b0751cd1
commit
972c919ea0
@ -10,6 +10,7 @@ linters:
|
||||
# Specifically enable linters we want to use.
|
||||
enable:
|
||||
- asasalint
|
||||
- bodyclose
|
||||
- depguard
|
||||
- errcheck
|
||||
- errorlint
|
||||
|
Loading…
x
Reference in New Issue
Block a user