Disallow calling configure
inside of a test
#997
Labels
new rule
New rule to be included in the plugin
configure
inside of a test
#997
Name for new rule
prefer-top-level-configure
Description of the new rule
Fail when
configure
is not called top-levelTesting Library feature
global configuration utility
Testing Library framework(s)
@testing-library/dom
,@testing-library/react
, perhaps othersWhat category of rule is this?
Warns about a potential error
Optional: other category of rule
No response
Code examples
Anything else?
No response
Do you want to submit a pull request to make the new rule?
Yes
The text was updated successfully, but these errors were encountered: