-
Is there a way to skip scanning/validating packages being imported in a file. There are third party components that are importing in my file and golangci-lint reports error in the one of the files in the thrid party component. this blocks running lint on my application. Any suggestions for this would be great |
Beta Was this translation helpful? Give feedback.
Answered by
Antonboom
Mar 13, 2023
Replies: 1 comment
-
Hi! Ignore third-party components paths with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alexandear
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Ignore third-party components paths with
skip-dirs
orskip-files
.https://golangci-lint.run/usage/configuration/