uber-go / nilaway

Static analysis tool to detect potential nil panics in Go code
Apache License 2.0
3.19k stars 66 forks source link

golangci-lint run issue #261

Closed madneal closed 4 months ago

madneal commented 4 months ago

I have installed the nilway and golangci-lint according to the instructions

image image

when try to golangci-lint run:

Error: build linters: plugin(nilaway): plugin "nilaway" not found
Failed executing command with error: build linters: plugin(nilaway): plugin "nilaway" not found

when try to run golangci-lint custom, no output generated.

But there should be some lints when using nilaway.

image
yuxincs commented 4 months ago

Per the instruction, golangci-lint custom builds the custom binary, and then you have to run the custom binary instead :)

PRs welcome if the current doc is confusing :)