WooCommerce ESLint plugin should be upgraded to work with ESLint >= 8.0.0 #32153
Labels
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
Describe the bug
Consumers of
@woocommerce/eslint-plugin
using ESLint 8 or greater will result in errors sinceplugin:testing-library/recommended
has been removed.To fix this we can:
eslint
to 8.0.0 or greatereslint-plugin-testing-library
to 5.0.0 or greaterplugin:testing-library/recommended
toplugin:testing-library/react
inpackages/eslint-plugin/configs/react-testing-library.js
For anyone using
@woocommerce/eslint-plugin
in the meantime, you can downgrade to botheslint@^7.32.0
andeslint-plugin-testing-library^3.10.2
to keep this ruleset.To Reproduce
@woocommerce/eslint-plugin
The text was updated successfully, but these errors were encountered: