-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added ignore dir #1787
feat: added ignore dir #1787
Conversation
Maybe you guys can push me into the right direction to fix the checks. I've no experience with go tbh. |
Thank you for working on this. But I'm wondering if |
Similar thought, if not recursive configuration, a more generic That would allow you to |
Hey everyone, Let me summarize what I aim to accomplish. While developing Terraform modules, I provide an example directory to provide usage examples for the modules. To improve convenience, I would like to exclude the examples directory from recursive scraping. This is because it does not need to adhere to the default linting settings applied to the rest of the project, such as the requirement for I believe there is room for improvement in terms of naming, and we should adopt a more generic approach, as suggested by @bendrucker. For instance, Checkov has a useful flag called Unfortunately, I am relatively new to Go and this is my first attempt at writing Go code. Therefore, I would greatly appreciate your assistance. Cheers Noël |
Thank you for sharing your use case. I understand what you want to achieve. Perhaps #1638 will be helpful. Instead of restricting the directories to walk, just filter the issues, much like |
Thanks @wata727. @bendrucker are you yet implementing this? If not, I might take a look into it, but due to my lack of knowledge, in terms of go, it might take some time and might not be as good as other solutions. |
Sorry. I was a little misunderstood. However, it may be inconvenient that Either way, we probably need to think from the design. |
Added the functionality to ignore directories.