open-telemetry / opentelemetry-go

OpenTelemetry Go API and SDK
https://opentelemetry.io/docs/languages/go
Apache License 2.0
5.34k stars 1.08k forks source link

[chore]: enable usestdlibvars linter #6001

Closed mmorel-35 closed 15 hours ago

mmorel-35 commented 1 day ago

Description

usestdlibvars is a linter that detect the possibility to use variables/constants from the Go standard library.

codecov[bot] commented 1 day ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.1%. Comparing base (446ee38) to head (a51aa21). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-go/pull/6001/graphs/tree.svg?width=650&height=150&src=pr&token=8efTmh4kvf&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-go/pull/6001?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #6001 +/- ## ===================================== Coverage 82.1% 82.1% ===================================== Files 273 273 Lines 23616 23616 ===================================== Hits 19400 19400 Misses 3871 3871 Partials 345 345 ```