nginxinc / nginx-gateway-fabric

NGINX Gateway Fabric provides an implementation for the Gateway API using NGINX as the data plane.
Apache License 2.0
501 stars 97 forks source link

Enable more linters #2545

Closed lucacome closed 1 month ago

lucacome commented 1 month ago

Proposed changes

Enables more linters that check for bugs in the code.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes, please add a brief note that summarizes the change.

NONE
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 75.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 89.29%. Comparing base (f74d70a) to head (2c91174). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/mode/static/manager.go 0.00% 8 Missing :warning:
internal/mode/provisioner/manager.go 0.00% 1 Missing :warning:
internal/mode/static/status/prepare_requests.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2545 +/- ## ========================================== - Coverage 89.34% 89.29% -0.05% ========================================== Files 100 100 Lines 7630 7633 +3 Branches 50 50 ========================================== - Hits 6817 6816 -1 - Misses 756 761 +5 + Partials 57 56 -1 ```

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