-
Notifications
You must be signed in to change notification settings - Fork 46
Comparing changes
Open a pull request
base repository: bombsimon/wsl
base: v5.3.0
head repository: bombsimon/wsl
compare: v5.4.0
- 18 commits
- 34 files changed
- 2 contributors
Commits on Nov 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 28386fc - Browse repository at this point
Copy the full SHA 28386fcView commit details
Commits on Nov 24, 2025
-
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ac14674 - Browse repository at this point
Copy the full SHA ac14674View commit details -
chore(deps): update coverallsapp/github-action action to v1.2.5 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4077c53 - Browse repository at this point
Copy the full SHA 4077c53View commit details -
fix(deps): update module github.com/stretchr/testify to v1.11.1 (#210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ef60262 - Browse repository at this point
Copy the full SHA ef60262View commit details -
chore(deps): update jandelgado/gcov2lcov-action action to v1.2.0 (#209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1632d47 - Browse repository at this point
Copy the full SHA 1632d47View commit details
Commits on Nov 29, 2025
-
chore(deps): update actions/checkout action to v6 (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2f953b1 - Browse repository at this point
Copy the full SHA 2f953b1View commit details -
chore(deps): update golangci/golangci-lint-action action to v9 (#215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6d475b9 - Browse repository at this point
Copy the full SHA 6d475b9View commit details -
chore(deps): update coverallsapp/github-action action to v2 (#214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c3e92a0 - Browse repository at this point
Copy the full SHA c3e92a0View commit details -
chore(deps): update actions/setup-go action to v6 (#213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4ac8ac5 - Browse repository at this point
Copy the full SHA 4ac8ac5View commit details -
fix(deps): update module golang.org/x/tools to v0.39.0 (#211)
* fix(deps): update module golang.org/x/tools to v0.39.0 * Bump `golangci-lint` and fix issues --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Sawert <simon@sawert.se>
Configuration menu - View commit details
-
Copy full SHA for aae714b - Browse repository at this point
Copy the full SHA aae714bView commit details -
Configuration menu - View commit details
-
Copy full SHA for efc6fc2 - Browse repository at this point
Copy the full SHA efc6fc2View commit details
Commits on Dec 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 861a8b8 - Browse repository at this point
Copy the full SHA 861a8b8View commit details
Commits on Jan 6, 2026
-
Allow cuddling mutex locking/unlocking (#219)
* Allow cuddling mutex locking/unlocking Restore removed support to more tightly cuddle mutex locking and unlocking. This is no longer configurable and hard coded to the selected few defaults from before. It is not limited to a set number of statements between and it is not restricted to specific type of statements, basically anything can be cuddled below `Lock` and the statement calling `Unlock` can be cuddled with anything. Fixes #218 * Address linting * Update docs * Don't decent into blocks * Exit as early as possible looking for selector
Configuration menu - View commit details
-
Copy full SHA for e696bdb - Browse repository at this point
Copy the full SHA e696bdbView commit details
Commits on Jan 13, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 22e3aba - Browse repository at this point
Copy the full SHA 22e3abaView commit details
Commits on Jan 21, 2026
-
Add support for
newline-after-block(#221)* Add support for `newline-after-block` This adds a new check type to enforce newline after any block (closing `}`). In addition, it also makes the check for empty line while using `case-max-lines` a bit more strict by now _not_ counting a trailing comment as an empty line. While doing this, there's a new column based logic to figure out where the newline should go in the end of a case. If it's aligned with the last statement of the case body the line is inserted after. If it's aligned with then next case arm, the line is inserted before the comment. While working on this we're also moving to a line based check that uses `LineStart` to make replacements and with that simplifying some comment parsing since we only need to know the pos where the line starts. This also allowed to add support to fix removal of whitespaces both before _and_ after leading comments in blocks. * Use `ast.Pos` when checking comments We don't need to check line number to find relevant comments, if we instead use the `ast.Pos` as long as possible we save a ton of conversions and gets some speed improvement. * Make `isErrNotNilCheck` check stmt type Removes extra check for statement type before calling function. Also adds a more detailed comment to why we skip complex groups. * Don't create `CommentMap` for file * Improve trailing case comments handling * Add support to remove newline after left-aligned comment Similar to how we do support trailing comments in a block, but no newline after the comment, we want to support left-aligned comments in case bodies but keep them flush against the next case. * Improve method name * Use constant instead of magic number * Improve finding comments after blocks * Consider comments when checking case total lines * Remove more `NewCommentMap` calls * Skip `FuncLit` for newline after block
Configuration menu - View commit details
-
Copy full SHA for 456abcf - Browse repository at this point
Copy the full SHA 456abcfView commit details -
Avoid creating
CommentMap(#225)We don't really need a `CommentMap` to find comments. In fact, creating a `CommentMap` is still iterating over all comments in a file to build it. Instead of deferring that and allocating a map, we can just iterate like this ourselves. This will improve performance, especially in the cases where we created a `CommentMap` _before_ we decided if a check was enabled and it wasn't.
Configuration menu - View commit details
-
Copy full SHA for 6afd151 - Browse repository at this point
Copy the full SHA 6afd151View commit details -
Use
ast.Inspectinstead ofcheckExprand manually calls (#226)We only have `checkExpr` to recursively find `ast.FuncList` to check its block. We do this both recursively but also for each known node that has an expression. Since we only care about the `FuncLit` it's better to just use `ast.Inspect` and check block for both `FuncDecl` and `FuncLit` already in `Run`. This removes a lot of code and might also be faster potentially. We might get diagnostics out of order but we never guaranteed a specific order.
Configuration menu - View commit details
-
Copy full SHA for 07549b2 - Browse repository at this point
Copy the full SHA 07549b2View commit details
Commits on Jan 22, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 6216ee8 - Browse repository at this point
Copy the full SHA 6216ee8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.3.0...v5.4.0