Replies: 1 comment
-
I'll think about a way of adding configuration for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to add a linter for functions that accept printf-like arguments?
let's assume I have the following function:
I'd like staticcheck to complain about missing/missmatched
a
params, just like it does forPrintf
,Sprintf
and the likes.Either by adding an own check or by configuring it somehow to treat the function like
Printf
for the last arugments?Cheers
Beta Was this translation helpful? Give feedback.
All reactions