Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency eslint-plugin-testing-library from v3.10.2 to v6 #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 18, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-testing-library 3.10.2 -> 6.2.2 age adoption passing confidence

Release Notes

testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library)

v6.2.2

Compare Source

Bug Fixes
  • await-async-events: false positives for userEvent.setup() returned (#​895) (fb32c5c)

v6.2.1

Compare Source

v6.2.0

Compare Source

Features
  • prefer-presence-queries: support react-native matcher toBeOnTheScreen (#​844) (b9fef59)

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.2

Compare Source

Bug Fixes

v6.0.1

Compare Source

Bug Fixes
  • no-await-sync-events: stop reporting user-event by default (#​803) (88246fc)

v6.0.0

Compare Source

You can follow the migration guide to v6.

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
Features
  • await-async-event: add basic fixer (#​656) (b4b5394)
  • await-async-query: rename to await-async-queries (#​665) (c1803df)
  • await-fire-event: rename to await-async-event + add support for user-event (#​652) (b4ce9bb)
  • no-await-sync-events: add to DOM, Angular & React configs by default (#​667) (afce5ea)
  • no-await-sync-query: rename to no-await-sync-queries (#​666) (7ed3da8)
  • no-debugging-utils: enable all debug methods in all configs by default (#​663) (e394ce0)
  • no-debugging-utils: warn instead of error in all configs (#​662) (8063f8f)
  • no-global-regexp-flag-in-query: add to all configs by default (#​660) (c76a7bf)
  • no-manual-cleanup: add to React & Vue configs by default (#​659) (8f6ebf5)
  • no-node-access: add to DOM config by default (#​661) (8dfe155)
  • no-render-in-setup: rename to no-render-in-lifecycle (#​649) (9acba43)
  • prefer-wait-for: remove rule (#​648) (20f23ad)

v5.11.1

Compare Source

Bug Fixes
  • prefer-presence-queries: ignore getBy* inside within on absence queries (#​740) (b75dc73)

v5.11.0

Compare Source

Features

v5.10.3

Compare Source

Bug Fixes

v5.10.2

Compare Source

Bug Fixes
  • await-async-util: false positives due to empty strings (#​733) (c2b8515)

v5.10.1

Compare Source

Bug Fixes
  • await-async-utils: false positive when destructuring (#​722) (34a0a55)

v5.10.0

Compare Source

Features

v5.9.1

Compare Source

Bug Fixes

v5.9.0

Compare Source

Features
  • await-async-query, await-async-utils, await-fire-event: support handling promises with jest-extended .toResolve & .toRejects (#​612) (9576462)

v5.8.0

Compare Source

Features
  • no-global-regexp-flag-in-query: Detect global RegExp in variable declarations (#​678) (e2ea687), closes #​592

v5.7.3

Compare Source

Bug Fixes
  • no-wait-for-side-effects: false negatives in variables declarations (#​677) (c3504a7), closes #​368

v5.7.2

Compare Source

Bug Fixes
  • no-node-access: false positives with props.children (#​658) (5f4287f)

v5.7.1

Compare Source

Bug Fixes
  • no-dom-imports: false negatives with several testing library imports (#​657) (0ae1f25)

v5.7.0

Compare Source

Features

v5.6.4

Compare Source

Bug Fixes

v5.6.3

Compare Source

Bug Fixes
  • consistent-data-testid: avoid crash for filename with square brackets (#​643) (48b19d5), closes #​509

v5.6.2

Compare Source

Bug Fixes

v5.6.1

Compare Source

Bug Fixes
  • prefer-query-by-disappearance: improve error position (#​639) (df3d647)

v5.6.0

Compare Source

Features
  • no-node-access: add allowContainerFirstChild option (#​611) (d16d284)

v5.5.1

Compare Source

Bug Fixes
  • await-fire-event: reference correct method names in reported messages (#​591) (763df6e), closes #​590

v5.5.0

Compare Source

Features

v5.4.0

Compare Source

Features

v5.3.1

Compare Source

Bug Fixes
  • no-await-sync-events: define option schema correctly (#​570) (59ee30d)

v5.3.0

Compare Source

Features

v5.2.1

Compare Source

Bug Fixes

v5.2.0

Compare Source

Features

v5.1.0

Compare Source

Features

v5.0.6

Compare Source

Bug Fixes
  • use isNodeOfType from ASTUtils instead of own version (700e2cc0)(#​556)

v5.0.5

Compare Source

Bug Fixes

v5.0.4

Compare Source

Bug Fixes

v5.0.3

Compare Source

Bug Fixes

v5.0.2

Compare Source

Bug Fixes
  • render-result-naming-convention: use disjunction to separate allowed names (#​529) (3729454)

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

BREAKING CHANGES
  • prefer-query-by-disappearance: prefer-query-by-disappearance is now enabled by default in all configs
  • prefer-presence-queries: prefer-presence-queries is now enabled by default in all configs
  • no-wait-for-snapshot: no-wait-for-snapshot is now enabled by default in all configs
  • no-wait-for-side-effects: no-wait-for-side-effects is now enabled by default in all configs
  • no-wait-for-multiple-assertions: no-wait-for-multiple-assertions is now enabled by default in all configs
  • no-render-in-setup: no-render-in-setup is now enabled by default in the Angular, React & Vue configs
  • no-unnecessary-act: no-unnecessary-act is now enabled by default in the React config
  • no-debug: no-debug is now called no-debugging-utils
  • Requires Node@^12.22.x || ^14.17.x || >=16.x

You can follow the migration guide to v5.

Features

v4.12.4

Compare Source

Reverts

v4.12.3

Compare Source

Bug Fixes
  • prefer-explicit-assert: check property existence (#​476) (1949a93)

v4.12.2

Compare Source

Bug Fixes
  • prefer-find-by: handle different spacing correctly for autofix (#​472) (9624a44)

v4.12.1

Compare Source

Bug Fixes

v4.12.0

Compare Source

Features

v4.11.0

Compare Source

Features
  • prefer-explicit-assert: add an option to toggle the matching of findBy queries (#​452) (172a5ac), closes #​449

v4.10.1

Compare Source

Bug Fixes
  • no-unnecessary-act: report everything that's reported in non-strict (#​423) (840763d), closes #​416

v4.10.0

Compare Source

Features

v4.9.3

Compare Source

Bug Fixes
  • no-unnecessary-act: fix false positives when isStrict option is set to false (#​418) (e0da981)

v4.9.2

Compare Source

Bug Fixes

v4.9.1

Compare Source

Bug Fixes

v4.9.0

Compare Source

Features

v4.8.0

Compare Source

Features

v4.7.0

Compare Source

Features

v4.6.0

Compare Source

Features

v4.5.1

Compare Source

Bug Fixes

v4.5.0

Compare Source

Features

v4.4.0

Compare Source

Features

v4.3.0

Compare Source

Features

v4.2.1

Compare Source

Bug Fixes
  • await-async-query: get correct Identifier related to CallExpression (#​374) (816df6e), closes #​359

v4.2.0

Compare Source

Features
  • no-wait-for-side-effects: report render usage in waitFor (#​363) (9f5de30)

v4.1.2

Compare Source

Bug Fixes
  • no-wait-for-side-effects: report implicit return in arrow functions (#​352) (0d105df)

v4.1.1

Compare Source

Bug Fixes

v4.1.0

Compare Source

Features
  • new shared setting for restricting Aggressive Queries Reporting: testing-library/custom-queries (#​344) (a8d2017), closes #​335
  • new "off" option for all shared settings to disable related Aggressive Reporting mechanism (#​344) (a8d2017), closes #​335

v4.0.2

Compare Source

Bug Fixes

v4.0.1

Compare Source

Bug Fixes
  • no-node-access: skip reporting files without Testing Library import (#​338) (19947ef), closes #​334

v4.0.0

Compare Source

Overview

eslint-plugin-testing-library v4 brings the new Aggressive Reporting (an advanced mechanism to drastically improve reporting things related to Testing Library), 7 new rules, Shareable Configs updates, more consistent and flexible detection, and tons of bug fixes. You can follow this migrating to v4 guide.

BREAKING CHANGES
  • Minimum ESLint version required is v7.5. Support from v5.X to v7.5 has been dropped
  • recommended Shareable Config has been renamed to dom
  • no-promise-in-fire-event rule enabled in dom, angular, react and vue Shareable Configs
  • no-wait-for-empty-callback rule enabled in dom, angular, react and vue Shareable Configs
  • prefer-screen-queries rule enabled in dom, angular, react and vue Shareable Configs
  • no-container rule enabled in angular, react and vue Shareable Configs
  • no-node-access rule enabled in angular, react and vue Shareable Configs
  • render-result-naming-convention rule enabled in angular, react and vue Shareable Configs
  • no-debug rule changed from "warning" to "error" in angular, react and vue Shareable Configs
  • prefer-explicit-assert: option customQueryNames has been removed
  • no-debug: option renderFunctions has been removed
  • no-render-in-setup: option renderFunctions has been removed
Bug Fixes
  • all rules detect things related to Testing Library (wrappers, variable references, custom imports, renamed utils) better and more consistently
  • await-async-query: detect wrappers around async queries properly (#​260)
  • await-async-utils: detect wrappers around async utils properly (#​263)
  • await-fire-event: detect wrappers around fire event properly (#​265)
  • no-await-sync-events: report type and keyboard methods with 0 delay (#​302)
  • no-debug: detect wrappers around debug properly (#​295)
  • prefer-screen-queries: ignore queries coming from non-reportable renders
  • prefer-screen-queries: improve error message (#​320)
Features
Contributors

Huge thanks to @​nickmccurdy @​thebinaryfelix @​timdeschryver @​gndelia @​renatoagds @​MichaelDeBoey @​thomaslombart for your contributions of all kind! v4 wouldn't be possible without you ❤️


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

github-actions bot commented Apr 18, 2024

Visit the preview URL for this PR (updated for commit 3e1dee6):

https://ent-shamash-dev--pr173-renovate-eslint-plug-dnu1675g.web.app

(expires Thu, 16 May 2024 22:12:12 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 500c97a3b6e3042f8d1f2786e215b2cda18eccce

@renovate renovate bot force-pushed the renovate/eslint-plugin-testing-library-6.x branch from ace19c7 to d8cf12b Compare May 9, 2024 18:45
@renovate renovate bot force-pushed the renovate/eslint-plugin-testing-library-6.x branch from d8cf12b to 3e1dee6 Compare May 9, 2024 22:09
Copy link

sonarcloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants