All Versions
7
Latest Version
Avg Release Cycle
98 days
Latest Release
953 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]