Skip to content

Conversation

@alarso16
Copy link
Contributor

Why this should be merged

Adds a required linter for avalanchego merge.

How this works

"Cherry-picks" ava-labs/coreth#1203. There were a lot of conflicts though, so most of it was done by hand

How this was tested

CI

Need to be documented?

No

Need to update RELEASES.md?

No

Signed-off-by: Jonathan Oppenheimer <[email protected]>
Signed-off-by: Jonathan Oppenheimer <[email protected]>
Co-authored-by: Austin Larson <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
@alarso16 alarso16 marked this pull request as ready for review November 25, 2025 21:16
@alarso16 alarso16 requested a review from a team as a code owner November 25, 2025 21:16
@JonathanOppenheimer JonathanOppenheimer changed the title style: enable errcheck linter sync: coreth PR #1203: style: enable errcheck linter Dec 1, 2025
Copy link
Member

@JonathanOppenheimer JonathanOppenheimer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I compared this side by side to the coreth PR -- all looks good to me. I left two comments just to understand why we can ignore a couple of the errors.

Copy link
Collaborator

@ceyonur ceyonur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm just two places can be used with t.Cleanup

@ceyonur
Copy link
Collaborator

ceyonur commented Dec 3, 2025

Created a separate issue for t.Cleanup #1895

@ceyonur ceyonur enabled auto-merge December 3, 2025 09:46
@ceyonur ceyonur added this pull request to the merge queue Dec 4, 2025
@alarso16 alarso16 removed this pull request from the merge queue due to a manual request Dec 4, 2025
@ceyonur ceyonur added this pull request to the merge queue Dec 4, 2025
@ceyonur ceyonur removed this pull request from the merge queue due to a manual request Dec 4, 2025
@ceyonur ceyonur added this pull request to the merge queue Dec 4, 2025
Merged via the queue into master with commit f47b419 Dec 4, 2025
13 checks passed
@ceyonur ceyonur deleted the alarso16/errcheck branch December 4, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants