go-critic v0.3.4 Release Notes

Release Date: 2019-01-04 // over 5 years ago
    • ๐Ÿ›  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]