github go-critic/go-critic v0.5.0
Lintpack-free release

latest releases: v0.11.3, v0.11.2, v0.11.1...
pre-release3 years ago

It's now possible to install go-critic with go get (no lintpack required).

New checkers:

  • 9a11c85 added deferUnlambda checker.
  • 99489e1 added badRegexp checker.
  • 3a3e885 added regexpSimplify checker.
  • 3916229 added sloppyTypeAssert checker.
  • d6fa699 added sqlQuery checker.
  • 33d100b added sortSlice checker.

Fixes:

  • 4757c17 typeSwitchVar now generates 1 warning per switch statement.
  • 7668b86 commentFormatting does not report //go:generate comments.
  • 730db5a commentFormatting does not report //export comments.
  • f4eb84b unnecessaryDefer false positive fix.

Don't miss a new go-critic release

NewReleases is sending notifications on new releases.