docs: add gosec G602 to includes/excludes inside .golangci.reference.yml (#4110)
This commit is contained in:
parent
88a40c6924
commit
dafe1469eb
@ -851,6 +851,7 @@ linters-settings:
|
|||||||
- G504 # Import blocklist: net/http/cgi
|
- G504 # Import blocklist: net/http/cgi
|
||||||
- G505 # Import blocklist: crypto/sha1
|
- G505 # Import blocklist: crypto/sha1
|
||||||
- G601 # Implicit memory aliasing of items from a range statement
|
- 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.
|
# To specify a set of rules to explicitly exclude.
|
||||||
# Available rules: https://github.com/securego/gosec#available-rules
|
# Available rules: https://github.com/securego/gosec#available-rules
|
||||||
@ -890,6 +891,7 @@ linters-settings:
|
|||||||
- G504 # Import blocklist: net/http/cgi
|
- G504 # Import blocklist: net/http/cgi
|
||||||
- G505 # Import blocklist: crypto/sha1
|
- G505 # Import blocklist: crypto/sha1
|
||||||
- G601 # Implicit memory aliasing of items from a range statement
|
- G601 # Implicit memory aliasing of items from a range statement
|
||||||
|
- G602 # Slice access out of bounds
|
||||||
|
|
||||||
# Exclude generated files
|
# Exclude generated files
|
||||||
# Default: false
|
# Default: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user