Closed maisano closed 10 months ago
👋 Curious if I can get some eyes this, cc @Belco90
I'll try to review this next week.
Hi hi – bumping this again! Should be a very quick review. The PR just accounts for when someone might have multiple testing library imports (which is common in my company's codebase).
:tada: This PR is included in version 6.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@all-contributors please add @maisano for code and test
@Belco90
I've put up a pull request to add @maisano! :tada:
Checks
Changes
Crawl all the import references when sniffing out
no-manual-cleanup
violations.Context
There is currently a bug with
no-manual-cleanup
where we only ever check the first import of anytesting-library
package. While duplicative imports of the same package is very likely uncommon, there are many packages within thetesting-library
ecosystem that will trip up the package detection and break this rule when we only look at the first.