What changed, and why it matters
This commit simply turns on a code-quality linter called 'wastedassign' in the project's linting configuration. It does not change any application code, fix a bug, or alter runtime behavior. There is no security relevance.
No action required; this is a tooling-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff removes ‘wastedassign’ from the disabled-linters list in .golangci.yml. The wastedassign linter detects assignments to variables that are never read before being overwritten. Enabling it is a static-analysis hygiene change; it has no effect on compiled binaries or node behavior.
Changed components
.golangci.ymlInspect captured patch +0 / −1
diff --git a/.golangci.yml b/.golangci.yml
index c661443..0133cbe 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -55,7 +55,6 @@ linters:
- sqlclosecheck
- tparallel
- unparam
- - wastedassign
# Disable whitespace linters as it has conflict rules against our
# contribution guidelines.
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.