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
968 stars 135 forks source link

Revert "build(deps-dev): bump prettier from 2.8.7 to 3.0.3 (#825)" #826

Closed Belco90 closed 9 months ago

Belco90 commented 9 months ago

This reverts commit 9ef055db83c94f6f3e24b5ed4a0e7093bfb89e05.

Checks

Changes

Context

Prettier public API was changed to full async methods in v3, removing some sync methods we used. The PR for upgrading prettier to v3 got merged because the code validation checks weren't flagged as required (they are now). The auto-generator for docs was failing after upgrading to prettier v3, and we need some TS config changes to be able to switch to the new async prettier methods (because of top-level await basically).

I'm reverting prettier upgrade for now. In some follow-up PRs I'll upgrade TS to v5, then update the TS Config based on TotalTypeScript's TSConfig Cheat Sheet, and finally upgrade to prettier v3 again using the new async methods.

github-actions[bot] commented 8 months ago

:tada: This PR is included in version 6.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: