With a .golangci.toml containing
[linters]
enable-all = true
disable = [
"dupl",
"goconst",
"maligned",
"golint"
]
and running golangci-lint run -c ../../.golangci.toml -Dtypecheck ./... to also disable typecheck, the previously disabled linters are enabled again.