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

chore(deps): bump eslint-plugin-testing-library from 3.10.2 to 4.0.0 #717

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 12, 2021

Bumps eslint-plugin-testing-library from 3.10.2 to 4.0.0.

Release notes

Sourced from eslint-plugin-testing-library's releases.

v4.0.0

4.0.0 (2021-04-11)

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

  • new Aggressive Reporting mechanism for detecting Testing Library imports, renders, utils, and queries (#237, #252, #260)
  • new rule no-container (#177, #295)
  • new rule render-result-naming-convention (#200, #280, #282)
  • new rule prefer-user-event (#192, #251)
  • new rule no-promise-in-fire-event (#180, #266)
  • new rule no-wait-for-side-effects (#196, #300)
  • new rule no-node-access (#190, #237)
  • new rule no-wait-for-multiple-assertions (#189, #301)
  • new shared setting testing-library/utils-module (#239)
  • new shared setting testing-library/custom-renders (#280, #282)

Contributors

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

... (truncated)

Commits
  • 3f42503 ci: run dependabot for npm monthly
  • 6e76a28 v4 (#322)
  • 22387d5 ci: wrap matrix values within quotes
  • 511986c ci: include 12.0 in node versions matrix
  • 8f2e0a5 chore: revert node 10.22.1 as minimum version
  • b5b93a4 Revert "ci: remove unnecessary quote marks for node versions"
  • b150663 ci: remove unnecessary quote marks for node versions
  • 025f23d docs: update contributing guidelines to v4 (#321)
  • 20027f4 fix: third round of bug fixes (#320)
  • ce38144 chore: update dependencies (#319)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the change: dependencies Updates to dependencies only label Apr 12, 2021
@AndrewLeedham AndrewLeedham merged commit a0d39fb into next Apr 12, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/next/eslint-plugin-testing-library-4.0.0 branch April 12, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change: dependencies Updates to dependencies only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant