Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golangci-lint: Add errorlint #2683

Merged
merged 1 commit into from
Jul 15, 2024
Merged

golangci-lint: Add errorlint #2683

merged 1 commit into from
Jul 15, 2024

Conversation

michi-covalent
Copy link
Contributor

Add errorlint linter to be consistent with cilium/cilium configuration 1, and fix lint errors.

Ref: cilium/design-cfps#9

Footnotes

  1. https://github.com/cilium/cilium/blob/3fa34b170493b48ef7befedef72badbd05429b18/.golangci.yaml#L117

Add errorlint linter to be consistent with cilium/cilium configuration
[^1], and fix lint errors.

Ref: cilium/design-cfps#9
[^1]: https://github.com/cilium/cilium/blob/3fa34b170493b48ef7befedef72badbd05429b18/.golangci.yaml#L117

Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent merged commit 6be63c0 into main Jul 15, 2024
13 checks passed
@michi-covalent michi-covalent deleted the pr/michi/lint branch July 15, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants