You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone know the name of the linter that catches %v and %+v format specifiers in code?
We want to turn this on in the azure-service-operator repo but my Google abilities are failing me and I haven't been able to work out which linter to use. #thanksinadvance
and got this response:
IIRC, we wrote a special script to detect the %v / %+v usage instead of using a linter ...
Describe the improvement
Those format specifiers can cause leakage of PII in logs, which is a Bad Thing(tm).
We've eliminated all the uses of
%v
and%+v
but should now turn on the linter to make sure we stay clean.The text was updated successfully, but these errors were encountered: