-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Linter issues #4496
Linter issues #4496
Comments
Another issue is that wrong or missing comments on exported declarations aren't being checked. See grafana/xk6-browser#65 (comment). So it seems that |
I think we should look into why |
So maybe update the issue description and also change its name to "vet isn't working properly" since we fixed the linter errors? Or create another issue as you explained as "another issue" here :)
|
I would classify Actually, I'm not sure the missing comments check was done by I'm not sure what the status is or why we're not getting those warnings, but we should look into it under this issue. I don't think we need a new one to track this. This comment should be enough to "expand the scope" of what needs to be done here. |
But we still fixed the following and I think we better change the issue description and link it to that comment maybe:
No? No big deal but can be confusing later on (doubt it :)). |
This reverts commit 2a5a92c. We're planning adding more linters, see: #216 and #58. So we've decided to renable the --new-from-rev options. See the discussions: - #216 (comment) - #216 (comment)
As discussed in #216, this enables specific linters, but should be run with --new-from-rev since there are a *lot* of old issues we should gradually fix. See #58
So grafana/xk6-browser#216 adds the missing linters, so we now get errors on missing/wrong comments via Considering that without I vote for keeping it open, as it will be a constant reminder we need to gradually fix all of these. The "Definition of Done", if you will, should be removing |
Same. That's why I added a todo list to this issue :) Next week, I'm planning to update the TODO list and add the linters as tasks. So we can track each week what we're accomplishing (as we agreed: one day per week schedule). Some of the tasks can be linterA part I, part II, ... style because some of them have a lot of warnings.
I totally agree with you. |
I don't think I fixed any of them without |
Something we just noticed in grafana/xk6-browser#252 is that at least Instead of wrestling with this specific issue, we might want to just switch to the GitHub Action and see if that fixes it. See #2397. Though it would still be a problem when running it locally... 😮💨 |
Closing this issue should be done when all existing issues are fixed and we remove
--new-from-rev
from the CI job.TODO:
nolint
directivesThe text was updated successfully, but these errors were encountered: