Stop complaining about error of fmt.Printf not checked

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-03-25 00:02:03 +01:00
parent 3d3fe0329e
commit 8f67ba30c6
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -163,6 +163,8 @@ linters-settings:
- name: unexported-naming # Warns on wrongly named un-exported symbols
- name: unexported-return # Warns when a public return is from unexported type.
- name: unhandled-error # Warns on unhandled errors returned by funcion calls
arguments:
- "fmt.(Fp|P)rint(f|ln|)"
- name: unnecessary-stmt # Suggests removing or simplifying unnecessary statements
- name: unreachable-code # Warns on unreachable code
- name: unused-parameter # Suggests to rename or remove unused function parameters