Mitigate OOM and "failed prerequisites" Self-isolate due to unexpected pandemics Support case-sensitive excludes Allow granular re-enabling excludes by ID, e.g. EXC0002 September 2019 Support go1.13 Add new linters: funlen, whitespace (with auto-fix) and godox Update linters: gochecknoglobals,...
Add new linters: testpackage, nestif, godot, gomodguard Add github actions output format Update linters: wsl Support disabled-tags setting for gocritic Mitigate OOM and "failed prerequisites" Self-isolate due to unexpected pandemicsSeptember 2019Support go1.13 Add new linters: funlen, whitespace...
[转]在GoLand中使用golangci-lint 即使本文(原文:https://medium.com/nerd-for-tech/golangci-lint-and-the-goland-ide-42aabc14f7d5)是以 GoLand IDE 作为最终目标编写的,我猜这里的想法也适用于任何现代 IDE。 运行静态代码分析(又名掉毛golang程序)是对糟糕的编码和廉价的方式开始新的golang代码审查的做...
# NOTE: If you get a "Killed" OOM message, try reducing the value of GOGC # See https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint GOGC=100 golangci-lint run --fix --verbose GOGC=$(ARGOCD_LINT_GOGC) GOMAXPROCS=2 golangci-lint run --fix --verbose --...
5 h1:X2JAdEVcbPaOom2TUa1FxZ3uyuUlex0XMLGYMemu6l0= github.com/Antonboom/nilnil v0.1.5/go.mod h1:I24toVuBKhfP5teihGWctrRiPbRKHwZIFOvc6v3HZXk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1....