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

go lints: enable forbidigo #923

Merged
merged 2 commits into from
Dec 28, 2023
Merged

go lints: enable forbidigo #923

merged 2 commits into from
Dec 28, 2023

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Dec 28, 2023

forbidigo flags any identifier matching ^(fmt\.Print.*|print|println)$

Writing directly to stdout breaks logging

Moved qrecord comparisons to e2eshared as comparison code contains logging & is only used by tests

forbidigo flags any identifier matching `^(fmt\.Print.*|print|println)$`

Writing directly to stdout breaks logging
@serprex serprex merged commit ec9486e into main Dec 28, 2023
7 checks passed
serprex added a commit that referenced this pull request Jan 3, 2024
I introduced regression in #923

Function was returning bool while callers expect testify/require
semantics

---------

Co-authored-by: Amogh-Bharadwaj <[email protected]>
Co-authored-by: Kevin Biju <[email protected]>
@serprex serprex deleted the no-stdout branch February 5, 2024 16:44
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