Skip to content

Enable all linters for ct-go#1064

Merged
mhutchinson merged 4 commits intogoogle:masterfrom
mhutchinson:lintfun
Apr 27, 2023
Merged

Enable all linters for ct-go#1064
mhutchinson merged 4 commits intogoogle:masterfrom
mhutchinson:lintfun

Conversation

@mhutchinson
Copy link
Copy Markdown
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