1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-03-17 20:57:51 +02:00

[chore] add log package to depguard linter (#5463)

Closes #5458

Adding `log` packages to depguard to avoid using cross-module internal
packages.
This commit is contained in:
Anton Manakin 2024-06-03 19:13:48 +03:00 committed by GitHub
parent 4c3ecab108
commit c719117f22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,6 +124,8 @@ linters-settings:
- "**/example/**/*.go"
- "**/trace/*.go"
- "**/trace/**/*.go"
- "**/log/*.go"
- "**/log/**/*.go"
deny:
- pkg: "go.opentelemetry.io/otel/internal$"
desc: Do not use cross-module internal packages.