-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
build(deps): bump github.com/bombsimon/wsl/v4 from 3.4.0 to 4.2.0 #4215
Conversation
72ffaf3
to
6d668c4
Compare
6d668c4
to
353dc75
Compare
@bombsimon It seems there is a regression on line directives, can you take a look? |
Super nice that you added the tests @ldez! ⭐ This would've caused the same issue that I just fixed in #3967 However, that's not the reason the test fails. The reason is this code. The reason I added this is because without this running the analyzer will also operate on non source files from the cache. If I remove these lines, this is what I currently get running in its own repo: › go run ./cmd/wsl ./...
/Users/simon/Library/Caches/go-build/2b/2b593556207605cff3837705ff4e2fcabdca47a62d42266c0a3a71c407e20003-d:47:14: block should not start with a whitespace
/Users/simon/Library/Caches/go-build/2b/2b593556207605cff3837705ff4e2fcabdca47a62d42266c0a3a71c407e20003-d:53:1: block should not end with a whitespace (or comment)
exit status 3
The same code was added in I don't know why this isn't an issue with more linters, maybe because they have a smaller scope and not as strict or opinionated lints? I never got around to dig deeper to why this is happening. Do you have any suggestions on how to get rid of the constraint of only checking |
I created golang/go#64436 but then I saw that generated code in general was discussed in golang/go#43481. Since I was using I don't know what's expected here actually but I think filtering out files manually like suggested in the linked issue is reasonable and in this case it will work just fine after moving to I updated |
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
1151687
to
ac642bb
Compare
…langci#4215) Co-authored-by: Fernandez Ludovic <[email protected]> Co-authored-by: Simon Sawert <[email protected]>
Bumps github.com/bombsimon/wsl/v4 from 3.4.0 to 4.2.0.
bombsimon/wsl@v3.4.0...v4.2.0
This update is done by hand because dependabot is not able to update a major version of a dependency.