docs: add gosec G602 to includes/excludes inside .golangci.reference.yml (#4110)

This commit is contained in:
Justin Robertson 2023-09-27 17:11:36 -04:00 committed by GitHub
parent 88a40c6924
commit dafe1469eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -851,6 +851,7 @@ linters-settings:
- G504 # Import blocklist: net/http/cgi
- G505 # Import blocklist: crypto/sha1
- G601 # Implicit memory aliasing of items from a range statement
- G602 # Slice access out of bounds
# To specify a set of rules to explicitly exclude.
# Available rules: https://github.com/securego/gosec#available-rules
@ -890,6 +891,7 @@ linters-settings:
- G504 # Import blocklist: net/http/cgi
- G505 # Import blocklist: crypto/sha1
- G601 # Implicit memory aliasing of items from a range statement
- G602 # Slice access out of bounds
# Exclude generated files
# Default: false