-
Notifications
You must be signed in to change notification settings - Fork 43
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: bombsimon/wsl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.7.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: bombsimon/wsl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 113 files changed
- 1 contributor
Commits on Jun 6, 2025
-
wsl
v5 - a complete rewrite ✍️ (#169)* Initial boilerplate for rewrite * Update dependencies, improve leading whitespace * Add `Cursor`, explore `*ast.IfStmt` * Handle force error checking * Handle if statements * Improve cursor states, add test * WIP: Cursor * Fix multiple if * Simplify resetting cursor * Improve handling of if * Add support to force error cuddlig * Add check for return * Add test for else/else-if * For, range, switch * Type switch * Branch * Decl, check types config * More exploration with CheckType * Improve leading whitespace check * Add initial expression statement check * Go stmt * Reorganize tests * Defer * Support to enable/disable more checks * Trailing newline * Case clause leading newline * Append check and some refactoring * IncDec * Assign and call (not really...) cuddle * Improved decl * More decl testing * Some config work * Support to cuddling if used anywhere in block * Whole block and first statement config * First in block improvements and config * Config and comments updates * Add case max lines * Add more types to detect idents * Fix false positives found on wsl * Add support for exclusive declarations * Fix broken tests * Linting and versioning * Some more types * Fix if false positives * Label statement * Improve/add select * More assign test * Improve defer * Rework finding idents * Drop `FirstInBlockMaxDepth` + fixes * Update golangci-lint and fix issues * Remove `allIdents`, support disable IncDec * Update dependencies * Add test with all checks disabled * Update github actions * Skip cgo files * Comments and cleanup * Add support for send, update conifg * Update README * Configuration and flag changes * Move send test to test with config * Update README * WIP: Rules * More docs and small fixes * Add check type to diagnostic, make branch a single check * Add fix for label statement (actually check statement) * Update tests with failed check * Use preset instead of two bools * Rename preset to default to align with `golangci-lint` * Add migration tool for `.golangci.yml` * Use more sensible default in example * Report leading and trailing whitespace on the empty line * Ensure we never remove user comments * Don't report whitespace issues on the same line * Doc updates * Bump version * Update LICENSE year * Rename faulty struct names * Test updates * Doc updates * Remove tests * Refactor cuddling check with intersection * Improve decl check * Branch and return fixes * More descriptive diagnostic * Improve labeled statement handling * Improve send handling * Add `default` as valid default, enable `send` by default * Remove TODO comment * Remove config migration comment * Move `send` test * Clarify cuddling without intersection * Rename function * Fix copy-paste mistake * Make all wsl types and functions private * Improve `CompositeLit` * Ignore more expr * Add test for else-if/else blocks * Add test for multiline case * Don't check block list for switch * Keep and convert `AllowAssignAndCall` to check * Docs sorting * Fix lint issues * Remove print statements used for debugging * Change badge branch * Remove no longer valid deprecation log * Support Go 1.23 * Don't use `SplitSq` when supporting Go 1.23 * Rename `RULES.md` to `CHECKS.md` * Improve documentation * Header is lowercase only * More docs updates
Configuration menu - View commit details
-
Copy full SHA for 9885e30 - Browse repository at this point
Copy the full SHA 9885e30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0643590 - Browse repository at this point
Copy the full SHA 0643590View commit details
Commits on Jun 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 9bcfb87 - Browse repository at this point
Copy the full SHA 9bcfb87View commit details -
Configuration menu - View commit details
-
Copy full SHA for dacbaad - Browse repository at this point
Copy the full SHA dacbaadView commit details
Commits on Jun 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e18f93d - Browse repository at this point
Copy the full SHA e18f93dView commit details
Commits on Jun 22, 2025
-
Improve fixer for
DeclStmt
(#175)* Improve fixer for `DeclStmt` * Stop when hitting an empty line or comment * Add test with comments above and after * Add test for type spec * Update docs * Add test mixing statement types * Clean up decl grouping impl * Avoid overlapping fixes when checking for intersection * Clarify test comment * Add comment explaining why we skip nodes with comments
Configuration menu - View commit details
-
Copy full SHA for 0423af1 - Browse repository at this point
Copy the full SHA 0423af1View commit details
Commits on Jun 24, 2025
-
Update docs, enable
err
by default (#178)* Update docs, enable `err` by default * Update default test
Configuration menu - View commit details
-
Copy full SHA for 7329c34 - Browse repository at this point
Copy the full SHA 7329c34View commit details -
Improve
err
checking, ensure working isolated (#179)- Always run `err` checking even if `if` is disabled - Don't force cuddling if no errors are checked - Don't force cuddling if no variables intersect - Only check cuddling if previous node is assign or decl - Move test to default testing
Configuration menu - View commit details
-
Copy full SHA for 4ab9357 - Browse repository at this point
Copy the full SHA 4ab9357View commit details
Commits on Jun 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a90e48f - Browse repository at this point
Copy the full SHA a90e48fView commit details
Commits on Jun 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2c8844f - Browse repository at this point
Copy the full SHA 2c8844fView commit details
Loading
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 v4.7.0...v5.0.0