1 parent d78c1fa commit d789981Copy full SHA for d789981
1 file changed
.golangci.yml
@@ -32,6 +32,14 @@ linters:
32
- linters: [gosec]
33
rules: [G505]
34
path: generate\.go
35
+ # Narrowing int64/uint64 to byte after shifting is intentional in bit packing.
36
+ - linters: [gosec]
37
+ rules: [G115]
38
+ path: _test\.go
39
+ # Loop bounds are guaranteed by fixed-size arrays (hexOffsets [16]int, UUID [16]byte).
40
41
+ rules: [G602]
42
+ path: \.go
43
44
settings:
45
godot:
0 commit comments