Skip to content

Commit ffe5cfe

Browse files
authored
docs: improve migrating to v5 guide
1 parent 6dd5158 commit ffe5cfe

File tree

1 file changed

+4
-4
lines changed
  • docs/migration-guides

1 file changed

+4
-4
lines changed

docs/migration-guides/v5.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Assuming you are already in v4, migrating to v5 will be easy. If you are not in
55
## Overview
66

77
- Support for ESLint v8
8-
- Drop support for Node v10 - required node version is now `^12.22.0 || ^14.17.0 || >=16.0.0`. Node v10 was EOL'd in April 2021, and ESLint v8 dropped support for it too.
8+
- Drop support for Node v10. Required node version is now `^12.22.0 || ^14.17.0 || >=16.0.0`. Node v10 was EOL'd in April 2021, and ESLint v8 dropped support for it too.
99
- Update dependencies
1010
- `no-debug` is now called `no-debugging-utils`
1111
- `no-render-in-setup` is now enabled by default in the Angular, React & Vue configs
@@ -20,6 +20,6 @@ Assuming you are already in v4, migrating to v5 will be easy. If you are not in
2020
## Steps to upgrade
2121

2222
- `eslint-plugin-testing-library` supports both ESLint v7 and v8, so you are fine with either version
23-
- Make sure you are using a compatible Node version, and update it if it's not the case
24-
- Rename `testing-library/no-debug` to `testing-library/no-debugging-utils` if you were referencing it manually somewhere
25-
- Be aware of new rules enabled in Shared Configs which can lead to new reported errors
23+
- Making sure you are using a compatible Node version (`^12.22.0 || ^14.17.0 || >=16.0.0`), and update it if it's not the case
24+
- Renaming `testing-library/no-debug` to `testing-library/no-debugging-utils` if you were referencing it manually somewhere
25+
- Being aware of new rules enabled in Shared Configs which can lead to new reported errors

0 commit comments

Comments
 (0)