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

Enable all linters for ct-go #1064

Merged
merged 4 commits into from
Apr 27, 2023
Merged

Enable all linters for ct-go #1064

merged 4 commits into from
Apr 27, 2023

Conversation

mhutchinson
Copy link
Contributor

@mhutchinson mhutchinson commented Apr 27, 2023

Fixed lint errors in best local way possible. Some of these cases seem like they should be propagated further, but that is outside the scope of this work and requires more context than I can load in now. The result of these changes is that errors should at least no longer silently be dropped.

There are still some lint rules that are not strictly enforced by this change, specifically https://golangci-lint.run/usage/false-positives/#exc0001. These are enforced by the trillian and trillian-examples repos. We should aim to get consistency here, but change represents a positive step in the right direction whether we choose to live with this exception or remove it and fix the remaining errors.

@mhutchinson mhutchinson requested a review from a team as a code owner April 27, 2023 12:01
@mhutchinson mhutchinson requested review from AlCutter and phbnf and removed request for a team April 27, 2023 12:01
Fixed lint errors in best local way possible. Some of these cases seem
like they should be propagated further, but that is outside the scope of
this work and requires more context than I can load in now. The result
of these changes is that errors should at least no longer silently be
dropped.
@mhutchinson mhutchinson merged commit 6924af8 into google:master Apr 27, 2023
@mhutchinson mhutchinson deleted the lintfun branch April 27, 2023 14:55
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.

2 participants