Update golanci-lint to 1.50, and remove structcheck, which was deprecated in new version.
Additionally, disable revives unhandled_errors linter, since currently errcheck (a default linter) does the same, and ignores common situations (eg, io.Close, fmt.Print).
Update golanci-lint to 1.50, and remove
structcheck
, which was deprecated in new version. Additionally, disablerevive
sunhandled_errors
linter, since currentlyerrcheck
(a default linter) does the same, and ignores common situations (eg,io.Close
,fmt.Print
).Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com