-
Notifications
You must be signed in to change notification settings - Fork 779
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
feat: add the errorlint check for golangci-lint #2519
Conversation
Codecov ReportBase: 53.78% // Head: 54.09% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2519 +/- ##
==========================================
+ Coverage 53.78% 54.09% +0.31%
==========================================
Files 116 116
Lines 10286 10287 +1
==========================================
+ Hits 5532 5565 +33
+ Misses 4324 4301 -23
+ Partials 430 421 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this! LGTM
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
1b2dc9b
to
13b93e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for the PR!
Add the errorlint check Signed-off-by: Fish-pro <zechun.chen@daocloud.io> Signed-off-by: Fish-pro <zechun.chen@daocloud.io> Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com> Co-authored-by: Rita Zhang <rita.z.zhang@gmail.com>
Signed-off-by: Fish-pro zechun.chen@daocloud.io
What this PR does / why we need it:
Adds errorlint checks to
golangci-lint
, standardizing the error format and error judgmentsWhich issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer: