-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
The second round of issues I found while testing v4 beta:
- problem A:
Cannot read property 'properties' of undefinedfrom a jest config file when importing jest-dom
require('@testing-library/jest-dom')
// ...
foo()- problem B:
prefer-user-eventshouldn't be included in any preset, sinceuser-eventmight not be installed. In the future, it would be nice to detect ifuser-eventinstalled to auto-enable this rule. For now, it's better to leave out of all presets - problem C:
no-debugshould be set as "error" in presets, in the same way asno-consoleis at "error" level oneslint:recommendedpreset.