testing-library / eslint-plugin-testing-library

ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
https://npm.im/eslint-plugin-testing-library
MIT License
992 stars 142 forks source link

☂️ Changes for the next major (v6) #571

Closed Belco90 closed 2 years ago

Belco90 commented 2 years ago

⚠️ WIP: Pending to ellaborate more on each point

This is just an umbrella ticket for keeping track of breaking changes for the next major version (v6):

hjoelh commented 2 years ago

await-async-events 👌 Just wasted some time not knowing userEvents are async 😫

Belco90 commented 2 years ago

Just wasted some time not knowing userEvents are async 😫

Sorry to hear that! They are async only from v14 tho, they were sync before such version. We updated no-await-sync-events to reflect this, but we need to convert await-fire-event into await-async-events too.

Belco90 commented 2 years ago

Closing in favor of proper GitHub Project: https://github.com/orgs/testing-library/projects/14/views/1