Commit afc9778
ci: suppress SA5011 false positives in test files
staticcheck SA5011 fires on the t.Fatal-then-dereference pattern (e.g.
`if r == nil { t.Fatal(...) }; r.Field`) because it doesn't recognise
t.Fatal as a goroutine terminator in all code paths. This is a known
false positive in test code — add an exclusion so the lint job stays
green without touching the test files themselves.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 46ca514 commit afc9778
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments