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
I'm trying to exclude the global variable check on the cmd/ directory. I thought about using the exclude config for this, however cmd\/.+is a global variable regex doesn't seem to work for this as it only seems to match against the actual message from the linter and not the file/line number.
Please include the following information:
Version of golangci-lint: golangci-lint --version golangci-lint has version 1.12 built from 7836034 on 2018-11-07T09:03:53Z
I'm trying to exclude the global variable check on the cmd/ directory. I thought about using the exclude config for this, however
cmd\/.+is a global variable
regex doesn't seem to work for this as it only seems to match against the actual message from the linter and not the file/line number.Please include the following information:
golangci-lint --version
golangci-lint has version 1.12 built from 7836034 on 2018-11-07T09:03:53Z
cat .golangci.yml
go version && go env
The text was updated successfully, but these errors were encountered: