Stop complaining about error of fmt.Printf not checked
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3d3fe0329e
commit
8f67ba30c6
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,8 @@ linters-settings:
|
||||||
- name: unexported-naming # Warns on wrongly named un-exported symbols
|
- name: unexported-naming # Warns on wrongly named un-exported symbols
|
||||||
- name: unexported-return # Warns when a public return is from unexported type.
|
- name: unexported-return # Warns when a public return is from unexported type.
|
||||||
- name: unhandled-error # Warns on unhandled errors returned by funcion calls
|
- 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: unnecessary-stmt # Suggests removing or simplifying unnecessary statements
|
||||||
- name: unreachable-code # Warns on unreachable code
|
- name: unreachable-code # Warns on unreachable code
|
||||||
- name: unused-parameter # Suggests to rename or remove unused function parameters
|
- name: unused-parameter # Suggests to rename or remove unused function parameters
|
||||||
|
|
Loading…
Reference in a new issue