All Versions
7
Latest Version
Avg Release Cycle
98 days
Latest Release
1574 days ago
Changelog History
Changelog History
-
v0.5.2 Changes
August 14, 2020🔄 Changes
- checkers: mark more checkers as stable @quasilyte (#956)
Checkers that are now considered to be stable:
* argOrder * badCall * badCond * codegenComment * commentFormatting * deprecatedComment * exitAfterDefer * flagName * mapKey * newDeref * offBy1 * stringXbytes * valSwap * wrapperFunc
✅ Every checker from this list was tested on several big Go projects.
-
v0.5.1 Changes
August 12, 2020⚡️ Updated go-ruleguard version to v0.2.0.
🚀 This minor release is an attempt to fix a broken dependency.
👀 See #953 -
v0.5.0 Changes
June 15, 2020👕 It's now possible to install
go-critic
withgo 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:
- 9a11c85 added
-
v0.4.3
March 18, 2020 -
v0.4.1 Changes
January 07, 2020🔄 Changes
- 🚀 all: rename release-config.yaml to release-drafter.yml @cristaloleg (#898)
- readme: add "cd" step to installation guide @quasilyte (#896)
- checkers: add mapKey checker @quasilyte (#895)
- ✅ checkers: fix integration tests @quasilyte (#894)
- all: use Github Actions @cristaloleg (#891)
- 🚀 all: make automate releases @cristaloleg (#892)
- 👕 makefile: correct linter.version argument @sosiska (#890)
-
v0.4.0 Changes
November 27, 2019🚀 Long time ago we did v0.3.4 release, it's time to make them more regular.
🛠 Current one contains mostly bugfixes. -
v0.3.4 Changes
January 04, 2019- 🛠 Fixed a number of false positives and panics for stable checkers
- 👕 Moved to a
lintpack
framework which uses https://godoc.org/golang.org/x/tools/go/packages - 👌 Improved the test suite for checkers
- 🚚 Moved less maintained and too experimental checkers to contrib repo
Marked several checkers stable.
The current list of stable checkers:appendAssign [diagnostic] appendCombine [performance] assignOp [style] builtinShadow [style opinionated] captLocal [style] caseOrder [diagnostic] defaultCaseOrder [style] dupArg [diagnostic] dupBranchBody [diagnostic] dupCase [diagnostic] dupSubExpr [diagnostic] elseif [style] flagDeref [diagnostic] hugeParam [performance] ifElseChain [style] importShadow [style opinionated] indexAlloc [performance] paramTypeCombine [style opinionated] rangeExprCopy [performance] rangeValCopy [performance] regexpMust [style] singleCaseSwitch [style] sloppyLen [style] switchTrue [style] typeSwitchVar [style] typeUnparen [style opinionated] underef [style] unlambda [style] unslice [style]