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

Add a linter to disable fmt.Printf in code #4154

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Add a linter to disable fmt.Printf in code #4154

merged 1 commit into from
Oct 10, 2023

Commits on Oct 9, 2023

  1. Add a linter to disable fmt.Printf in code

    Printf is often used while developping to inspect or debug code. It
    happens that these statements are forgotten and commited. We can prevent
    that by using a linter to disable them.
    
    We have some cases where fmt.Printf was used to print useful stuff, like
    in the CLI. They have been rewritten in fmt.Fprintf to avoid been
    flagged by the linter.
    nono committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    9a957b3 View commit details
    Browse the repository at this point in the history