Closed nekohasekai closed 1 month ago
hello, typecheck
errors cannot be ignored, this section of the FAQ explains why: https://golangci-lint.run/welcome/faq/#why-is-it-not-possible-to-skipignore-typecheck-errors
I'm not 100% sure I understand this restriction. Shouldn't golangci-lint respect the user's request to exclude directories?
If you try to compile, it's not possible to exclude a file (except with build tags), it's the same thing for golangci-lint.
Please read https://golangci-lint.run/welcome/faq/#why-is-it-not-possible-to-skipignore-typecheck-errors
Welcome
typecheck
section of the FAQ.Description of the problem
exclude-dirs seems to be ignored since v1.60.0, the same steps worked fine in v1.59.0 with go1.22.7.
Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
Validation
Supporter