Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump linter, remove structcheck, ignore unhandled_errors #265

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

helsaawy
Copy link
Contributor

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).

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

`structcheck` is deprecated.
Update golanci-lint to 1.50.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy requested a review from a team as a code owner October 25, 2022 19:47
@helsaawy helsaawy merged commit 650a2e4 into microsoft:main Oct 28, 2022
@helsaawy helsaawy deleted the linter-update branch October 28, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants