github go-critic/go-critic v0.5.8

latest releases: v0.11.3, v0.11.2, v0.11.1...
2 years ago

Fixes

  • checkers/octalLiteral: skip check for fs package (#1062)
  • checkers/commentFormatting: should allow vertical bars (#1066)
  • fixes dsl package dependency

Checkers

  • checkers: add preferFprint rule (#1070)
  • checkers: add returnAfterHttpError (#1079)
  • checkers: add redundantSprint checker (#1086)
  • checkers: add preferFilepathJoin (#1078)
  • checkers: add preferStringWriter (#1077)
  • checkers: add sliceClear rule (#1087)
  • checkers: add preferWriteByte (#1067)
  • httpNoBody: add NewRequestWithContext (#1076)
  • checkers: add more dupArg patterns (#1089)
  • Ported several checkers to the ruleguard rules

Misc

  • granular error handling, skip or fail on parsing error (#1024)
  • udpate ruleguard to 0.3.9 (#1084)
  • all: add initial quickfix support (#1088)

Special thanks to @peakle, @sebastien-rosset, @tdakkota and @cristaloleg

Don't miss a new go-critic release

NewReleases is sending notifications on new releases.