-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
gosec: convert global settings as map with proper key type #3779
Conversation
Hey, thank you for opening your first Pull Request ! |
Co-authored-by: Oleksandr Redko <[email protected]>
Co-authored-by: Oleksandr Redko <[email protected]>
@alexandear could you take a look? Thank you! |
@alexandear / @ldez would you like to review this PR? I am waiting for this fix to enable golangci-lint in our project... |
LGTM. But I haven't permission to merge. |
@alexandear you have to read better:
You are in the team so you can approve (instead of just putting a comment). |
hi, thanks for merging this PR. @ldez when will we have a new release? |
…3779) Co-authored-by: Fernandez Ludovic <[email protected]>
Fix #3778
gosec's global settings is using following type:
In current implementation, the gosec global settings from golangci-lint's linters-settings will not be converted to the correct type as above.
To fix this issue, this pull request refactored the
*config.GoSecSetting
togosec.Config
implementation to be global option aware.