Skip to content

Second round of v4 beta issues #313

Closed
@Belco90

Description

The second round of issues I found while testing v4 beta:

  • problem A: Cannot read property 'properties' of undefined from a jest config file when importing jest-dom
require('@testing-library/jest-dom')
// ...
foo()
  • problem B: prefer-user-event shouldn't be included in any preset, since user-event might not be installed. In the future, it would be nice to detect if user-event installed to auto-enable this rule. For now, it's better to leave out of all presets
  • problem C: no-debug should be set as "error" in presets, in the same way as no-console is at "error" level on eslint:recommended preset.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions