-
Notifications
You must be signed in to change notification settings - Fork 146
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
Fix a bunch of errorlint errors from our linters #360
Conversation
/test |
@@ -44,7 +44,6 @@ notice: | |||
.PHONY: check-ci | |||
check-ci: | |||
@mage update | |||
@mage check |
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.
This shouldn't be here, this actually makes the linter run twice and it should only be run by the github action.
Fixes the errorlint raised by the linter
This fixes a lot of the error detecting by our linters, this skip the errors related to the errors packages, we should refactor the usage or our package instead.
/test |
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.
I think you might have misses a !
on a if statement. I commented there
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.
you still have failing tests, but so far so good :)
@AndersonQ well the linter... is a work in progress. I think the next one is the errcheck.
|
The team is working on it elastic/e2e-testing#2434, thanks for the ping! |
This fixes a lot of the error detecting by our linters, this skip the
errors related to the errors packages, we should refactor the usage or
our package instead.
What does this PR do?
Why is it important?
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs