Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency eslint-plugin-testing-library to v6 (#727
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-testing-library](https://togithub.com/testing-library/eslint-plugin-testing-library) | devDependencies | major | [`5.11.1` -> `6.2.2`](https://renovatebot.com/diffs/npm/eslint-plugin-testing-library/5.11.1/6.2.2) | --- ### Release Notes <details> <summary>testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library)</summary> ### [`v6.2.2`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.2.2) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.2.1...v6.2.2) ##### Bug Fixes - **await-async-events:** false positives for userEvent.setup() returned ([#​895](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/895)) ([fb32c5c](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/fb32c5c07dbbd7449b8b1d3983683765912b9e72)) ### [`v6.2.1`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.2.1) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.2.0...v6.2.1) ##### Bug Fixes - **await-async-events:** false positive reports on awaited expressions evaluating to promise ([#​890](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/890)) ([767f1be](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/767f1be6c15f05d430f662b09fc467b2feeff6ed)) ### [`v6.2.0`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.2.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.1.2...v6.2.0) ##### Features - **prefer-presence-queries:** support react-native matcher `toBeOnTheScreen` ([#​844](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/844)) ([b9fef59](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/b9fef5991291fbd78f81a2a69f06007ff6ce6498)) ### [`v6.1.2`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.1.2) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.1.1...v6.1.2) ##### Bug Fixes - **await-async-events:** avoid reporting `userEvent.setup()` in wrappers ([#​834](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/834)) ([a1bb21e](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/a1bb21ea01e2a7cfa393e5e360aa3d620098efae)), closes [#​800](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/800) ### [`v6.1.1`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.1.1) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.1.0...v6.1.1) ##### Bug Fixes - handle multiple imports with `no-manual-cleanup` ([#​835](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/835)) ([cb84da2](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/cb84da25f60f1fbfae018e7dd803a353252292fc)) ### [`v6.1.0`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.1.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.0.2...v6.1.0) ##### Features - **prefer-implicit-assert:** adding new rule ([#​815](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/815)) ([56a1900](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/56a19006035530f20d41091c666b117ca216c1bf)), closes [#​743](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/743) ### [`v6.0.2`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.2) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.0.1...v6.0.2) ##### Bug Fixes - **await-async-events:** sync userEvent.setup() should not be reported ([#​817](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/817)) ([c0b6e6f](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c0b6e6f11fc4c536ad45c98cb058daef82b58258)), closes [#​800](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/800) ### [`v6.0.1`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.1) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.0.0...v6.0.1) ##### Bug Fixes - **no-await-sync-events:** stop reporting `user-event` by default ([#​803](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/803)) ([88246fc](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/88246fca7919b06a00d0564913779db33de4de19)) ### [`v6.0.0`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v5.11.1...v6.0.0) You can follow the [migration guide to v6](https://togithub.com/testing-library/eslint-plugin-testing-library/blob/main/docs/migration-guides/v6.md). ##### BREAKING CHANGES - **await-async-query:** `await-async-query` is now called `await-async-queries` - **no-await-sync-events:** `no-await-sync-events` is now enabled by default in the DOM, Angular & React configs - **no-await-sync-query:** `no-await-sync-query` is now called `no-await-sync-queries` - **no-debugging-utils:** `no-debugging-utils` now enables all debug methods in all configs by default - **no-node-access:** `no-node-access` is now enabled by default in the DOM config - **await-fire-event:** `await-fire-event` is now called `await-async-event` - **no-global-regexp-flag-in-query:** `no-global-regexp-flag-in-query` is now enabled by default in all configs - **no-manual-cleanup:** `no-manual-cleanup` is now enabled by default in the React & Vue configs - **no-render-in-setup:** `no-render-in-setup` is now called `no-render-in-lifecycle` - **prefer-wait-for:** `prefer-wait-for` is now removed ##### Bug Fixes - **await-async-event:** pluralize to await-async-events ([#​670](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/670)) ([7238f76](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/7238f76c44d026798c8ad7c41700a717a065aef6)) - **await-async-events:** improve fixer ([#​675](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/675)) ([9d5554c](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/9d5554cb6bd44f3dbb9e370d67b684b54010c704)) ##### Features - **await-async-event:** add basic fixer ([#​656](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/656)) ([b4b5394](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/b4b5394b18979e7fde175d36e0cbe9cec5fb2f85)) - **await-async-query:** rename to `await-async-queries` ([#​665](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/665)) ([c1803df](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c1803df5e35188ed5fcaeaf45ebcea379fa36838)) - **await-fire-event:** rename to `await-async-event` + add support for `user-event` ([#​652](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/652)) ([b4ce9bb](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/b4ce9bb2ddec61f1790aa422412b3557f2baaf90)) - **no-await-sync-events:** add to DOM, Angular & React configs by default ([#​667](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/667)) ([afce5ea](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/afce5ea7888db3070711c39baf470e46a01f99a7)) - **no-await-sync-query:** rename to `no-await-sync-queries` ([#​666](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/666)) ([7ed3da8](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/7ed3da8ef5b454baea76f8f14465644311366270)) - **no-debugging-utils:** enable all debug methods in all configs by default ([#​663](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/663)) ([e394ce0](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/e394ce0962616e79d45b9abed8afead7e00f5d13)) - **no-debugging-utils:** warn instead of error in all configs ([#​662](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/662)) ([8063f8f](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8063f8f6a8e1ed0304c6eefc3b00493997952cd1)) - **no-global-regexp-flag-in-query:** add to all configs by default ([#​660](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/660)) ([c76a7bf](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c76a7bfa153d8f206bd88cd3928e3f8bd107be18)) - **no-manual-cleanup:** add to React & Vue configs by default ([#​659](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/659)) ([8f6ebf5](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8f6ebf567b0e3bd136db3f917ef1ac6def5f14cb)) - **no-node-access:** add to DOM config by default ([#​661](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/661)) ([8dfe155](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8dfe155f5658c14004c80ddef274171e1d2950b1)) - **no-render-in-setup:** rename to `no-render-in-lifecycle` ([#​649](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/649)) ([9acba43](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/9acba430da3729bf3e4c781d1b9d2f3ff3ed6962)) - **prefer-wait-for:** remove rule ([#​648](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/648)) ([20f23ad](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/20f23ad0810654ab046e7056560653c72274d50a)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Asia/Jerusalem, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: descope[bot] <descope[bot]@users.noreply.github.com>
- Loading branch information