Skip to content

v0.2.0

Latest

Choose a tag to compare

@ssgreg ssgreg released this 05 Oct 09:46
· 13 commits to main since this release
4ba15cc

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: none makes 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.