uber-go / fx

A dependency injection based application framework for Go.
https://uber-go.github.io/fx/
MIT License
5.72k stars 289 forks source link

lint: Use golangci-lint for license check #1157

Closed abhinav closed 7 months ago

abhinav commented 7 months ago

Instead of a hand-written license header check, use the goheader linter included in golangci-lint.

Also deletes a stale exclude-rules in golangci.yml that was copied over from Zap.

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (4c7a22b) 98.74% compared to head (30d0a89) 98.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1157 +/- ## ======================================= Coverage 98.74% 98.74% ======================================= Files 30 30 Lines 2950 2950 ======================================= Hits 2913 2913 Misses 30 30 Partials 7 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.