Open Antonboom opened 3 years ago
Just now noticed the --exclude
option 🤦
And in golangci-lint:
# Exclude lll issues for long lines with go:generate
- linters:
- lll
source: "^//go:generate "
Most likely this PR can be closed. Although it seems like ignoring go generate
directive is normal behavior (like ignoring files created with it).
I'll leave it up to you.
Thanks!
Implemented on golangci-lint
side – https://github.com/golangci/golangci-lint/pull/3572
Hello!
We now have to do this, which is not very beautiful