Releases: bombsimon/wsl
Releases · bombsimon/wsl
v1.2.3
v1.2.2
v1.2.1
v1.2.0
- Allow multiline assignments to be cuddled (default, may still be turned off)
err := SomeFunc(
"spanning over",
"multiple lines",
)
if err != nil {
panic("these belong together")
}
If AllowMultiLineAssignmentCuddled
(-allow-multi-line-assignment
) is set to false
, this will yield an error.
v1.1.0
- Functions on one line should not be considered
- Fix better token.Pos() for whitespaces
- Fix variable names
- Add stringer
- Support configuration (not yet exposed properly in cmd)
- Support to whitelist any RHS
- Support to whitelist any calls one line above
- Support to cuddle any assignment and call if any of the RHS/LHS is used
Version 1.0.1
- Fix bug for leading comments