Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gazelle: detect any directory with /test in path as test package (#297)
We have not very java-like structure in our monorepo: <img width="275" alt="Screen Shot 2024-08-29 at 16 53 15" src="https://github.com/user-attachments/assets/03dfabef-b933-40cf-951a-8a2104dbd6ea"> So current func IsTestPackage doesn't detect our tests as tests and we have `found MULTIPLE results in rule index` error because of the same package in test classes. We propose the fix, so files in packages like `//common/test` will also fit as test packages.
- Loading branch information