Skip to content

Commit dafe146

Browse files
authored
docs: add gosec G602 to includes/excludes inside .golangci.reference.yml (#4110)
1 parent 88a40c6 commit dafe146

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.golangci.reference.yml

+2
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ linters-settings:
851851
- G504 # Import blocklist: net/http/cgi
852852
- G505 # Import blocklist: crypto/sha1
853853
- G601 # Implicit memory aliasing of items from a range statement
854+
- G602 # Slice access out of bounds
854855

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

894896
# Exclude generated files
895897
# Default: false

0 commit comments

Comments
 (0)