Releases: testing-library/eslint-plugin-testing-library
Releases · testing-library/eslint-plugin-testing-library
v4.0.0-beta.1
4.0.0-beta.1 (2021-03-28)
Bug Fixes
chore
Code Refactoring
Features
- add no-container rule #177 (86f9c84)
- add no-node-access rule (#190) (9d4c1e4)
- add no-side-effects-wait-for rule (#196) (91200b7)
- add prefer-user-event rule (#192) (9aa6730)
- add render-result-naming-convention rule (#200) (3b9d5b5)
- add rule no-multiple-assertions-wait-for (#189) (11d67b2)
- new setting for reported filename pattern (#244) (6abb4ee)
- no-container: setup new rule on index (094f53c)
- no-promise-in-fire-event: add new no-promise-in-fire-event rule (#180) (a4cc8d8)
- recommend no-wait-for-empty-callback (#168) (d8a2ac6)
- recommend prefer-screen-queries (#169) (58d72d5)
BREAKING CHANGES
- Minimum node version required is v10.22.1
- Minimum ESLint version required is 7.5.0. Support for ESLint between v5 and v7.4 has been dropped
recommended
config preset has been renamed todom
, so make sure to update it in your ESLint config file if you were usingrecommended
preset.no-wait-for-empty-callback
rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.prefer-screen-queries
rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.