Skip to content

Commit e312d64

Browse files
Bump eslint-plugin-testing-library from 5.11.1 to 6.2.0 (#3391)
* Bump eslint-plugin-testing-library from 5.11.1 to 6.2.0 Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 5.11.1 to 6.2.0. - [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases) - [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json) - [Commits](testing-library/eslint-plugin-testing-library@v5.11.1...v6.2.0) --- updated-dependencies: - dependency-name: eslint-plugin-testing-library dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * update rules --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Stepien <stepien.nicolas@gmail.com>
1 parent 87a3aa4 commit e312d64

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.eslintrc.cjs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -724,33 +724,32 @@ const rules = {
724724

725725
// eslint-plugin-testing-library Rules
726726
// https://github.com/testing-library/eslint-plugin-testing-library#supported-rules
727-
'testing-library/await-async-query': 0,
727+
'testing-library/await-async-events': 0,
728+
'testing-library/await-async-queries': 0,
728729
'testing-library/await-async-utils': 0,
729-
'testing-library/await-fire-event': 0,
730730
'testing-library/consistent-data-testid': 0,
731731
'testing-library/no-await-sync-events': 0,
732-
'testing-library/no-await-sync-query': 0,
732+
'testing-library/no-await-sync-queries': 0,
733733
'testing-library/no-container': 1,
734734
'testing-library/no-debugging-utils': 1,
735735
'testing-library/no-dom-import': 1,
736736
'testing-library/no-global-regexp-flag-in-query': 1,
737737
'testing-library/no-manual-cleanup': 0,
738738
'testing-library/no-node-access': 0,
739739
'testing-library/no-promise-in-fire-event': 0,
740-
'testing-library/no-render-in-setup': 0,
740+
'testing-library/no-render-in-lifecycle': 0,
741741
'testing-library/no-unnecessary-act': 1,
742-
'testing-library/no-wait-for-empty-callback': 1,
743742
'testing-library/no-wait-for-multiple-assertions': 1,
744743
'testing-library/no-wait-for-side-effects': 1,
745744
'testing-library/no-wait-for-snapshot': 0,
746745
'testing-library/prefer-explicit-assert': 1,
747746
'testing-library/prefer-find-by': 1,
747+
'testing-library/prefer-implicit-assert': 0,
748748
'testing-library/prefer-presence-queries': 1,
749749
'testing-library/prefer-query-by-disappearance': 1,
750750
'testing-library/prefer-query-matchers': 0,
751751
'testing-library/prefer-screen-queries': 1,
752752
'testing-library/prefer-user-event': 1,
753-
'testing-library/prefer-wait-for': 0,
754753
'testing-library/render-result-naming-convention': 0,
755754
...ignoreRules
756755
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"eslint-plugin-react": "^7.32.2",
8989
"eslint-plugin-react-hooks": "^4.6.0",
9090
"eslint-plugin-sonarjs": "^0.23.0",
91-
"eslint-plugin-testing-library": "^5.11.0",
91+
"eslint-plugin-testing-library": "^6.2.0",
9292
"jsdom": "^22.0.0",
9393
"jspdf": "^2.5.1",
9494
"jspdf-autotable": "^3.5.23",

0 commit comments

Comments
 (0)