-
Notifications
You must be signed in to change notification settings - Fork 150
refactor(consistent-data-testid): use createTestingLibraryRule #362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why GH is saying that detect-testing-library-utils.ts
is a new file, as I only changed these parts and moved the file to the create-testing-library-rule
folder
lib/create-testing-library-rule/detect-testing-library-utils.ts
Outdated
Show resolved
Hide resolved
Could you avoid moving the file then? It's doing more harm than good, and we can move it in a different PR to avoid adding more noise here. |
Sure! All current Let me know if you need more assistance over this! edit: remove non-necessary explanation about how to implement the check itself |
lib/create-testing-library-rule/detect-testing-library-utils.ts
Outdated
Show resolved
Hide resolved
3783036
to
3685215
Compare
🎉 This PR is included in version 4.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I didn't add tests for the new
skipRuleReportingCheck
detection option (yet) as I don't know how to test that one.@Belco90 could you point me in the right direction of how I would add tests for it?
This PR does some ground work for #358