You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ golangci-lint run ./... --disable-all -E cyclop --no-config
I only get (typecheck) results, not (cyclop) results.
Version of golangci-lint
(1.53.3)
Configuration file
None
Go environment
$ go version && go envgo version go1.18.1 linux/amd64GO111MODULE=""GOARCH="amd64"GOBIN=""GOCACHE="/home/user/.cache/go-build"GOENV="/home/user/.config/go/env"GOEXE=""GOEXPERIMENT=""GOFLAGS=""GOHOSTARCH="amd64"GOHOSTOS="linux"GOINSECURE=""GOMODCACHE="/home/user/go/pkg/mod"GONOPROXY=""GONOSUMDB=""GOOS="linux"GOPATH="/home/user/go"GOPRIVATE=""GOPROXY="https://proxy.golang.org,direct"GOROOT="/usr/lib/go-1.18"GOSUMDB="sum.golang.org"GOTMPDIR=""GOTOOLDIR="/usr/lib/go-1.18/pkg/tool/linux_amd64"GOVCS=""GOVERSION="go1.18.1"GCCGO="gccgo"GOAMD64="v1"AR="ar"CC="gcc"CXX="g++"CGO_ENABLED="1"GOMOD="/home/user/source/REDACTED/go.mod"GOWORK=""CGO_CFLAGS="-g -O2"CGO_CPPFLAGS=""CGO_CXXFLAGS="-g -O2"CGO_FFLAGS="-g -O2"CGO_LDFLAGS="-g -O2"PKG_CONFIG="pkg-config"GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build763151559=/tmp/go-build -gno-record-gcc-switches"
Verbose output of running
None
Code example or link to a public repository
// add your code here
The text was updated successfully, but these errors were encountered:
typecheck is not a real linter it's just a way to parse/display "compilation" and linters errors (linter reports are not errors).
So if you have typecheck reports, you will not have other reports.
Sorry but that's not actually what the issue is. The problem is that even though I'm only enabling the cyclop checker, cyclop doesn't appear to be running. Instead, the typecheck checker is running, even though I've disabled all checkers and only enabled cyclop.
Welcome
Description of the problem
When I run
$ golangci-lint run ./... --disable-all -E cyclop --no-config
I only get (typecheck) results, not (cyclop) results.
Version of golangci-lint
(1.53.3)
Configuration file
None
Go environment
Verbose output of running
None
Code example or link to a public repository
// add your code here
The text was updated successfully, but these errors were encountered: