new rule: no-container
Inspiration: Using container to query for elements
This would error on container methods like querySelector that are often used instead of get/query functions, as there might be other reasons why you'd need to access the container in a test (such as assertions). It would be nice to give suggestions of specific get/query functions as well, but I'm not sure how far we could get.
Hi, everyone! I'd like to help implementing this rule, could I be assigned to it @nickmccurdy ?
Sure, it's all yours 😄 You might want to review #165 as well because there were some mentions about this ticket.
Thanks @gndelia !
:tada: This issue has been resolved in version 4.0.0-beta.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 4.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: