Repository navigation
Releases: ssgreg/lintuition
Releases · ssgreg/lintuition
Release list
v0.2.0
Two new linters, and the false positives of the first ones fixed. On 25 real repositories the standard linters made 27 true findings and 97 false ones with v0.1.0; each linter was fixed against that set and a held-out set written after its design.
New linters
doc-vs-signature: a doc that promises a returned result or error the signature does not have. An HTTP handler's "returns X" about its response is told apart from a promise to the Go caller.read-only-promise: a doc that promises no change while the body writes the receiver, a parameter or a package variable.
Fewer false positives
destructive-remediation, suppression-rationale, severe-event-understated, normal-event-at-error, enum-comment-shift, test-name-vs-assertion and doc-vs-table were each reworked on real code. Details per linter: CHANGELOG.
Classifiers
- Contradictory probability distributions are rejected for every backend, and a cached answer decides the same way every time.
openai:reasoning-effort: nonemakes models that think first (qwen3.x, gemma4 on Ollama) usable.
Install
go install github.com/ssgreg/lintuition/cmd/lintuition@v0.2.0
or download a binary below.
v0.1.0
First release of lintuition: System One linters for your Go code. It finds places where code says one thing and does another: log messages, test names, comments or metric Help that contradict the surrounding code.
What's in it
- 15 linters across logs, errors, units, comments, tests, metrics and
//nolintreasons. What each one catches and how it decides:docs/linters.md. - Classifiers:
jev(TypeSafe),openai(OpenAI-compatible APIs, including a local Ollama),claude-codeandcodexunder your own login, andfakefor offline runs. - golangci-lint v2-shaped config and command line; text, json, sarif, checkstyle, code-climate, junit-xml and github-actions output.
- Request preview (
--dry-run --preview), payload policy, spending budget and answer cache. //nolintthat requires a linter name and a reason.- Plugins: your own linters and classifiers in a custom binary (
lintuition custom).
Install
go install github.com/ssgreg/lintuition/cmd/lintuition@v0.1.0
or download a binary below.