2 comments

[ 3.5 ms ] story [ 15.7 ms ] thread
Can you add this to golangci-lint? I like the convenience of a one stop shop.
> Misplacement Detection: A test is misplaced if it primarily calls functions from a different source file

There is no need for a 1:1 relationship between code files and test files in Go.