Got this error message Definition for rule 'testing-library/no-debug' was not found.
right after VSCode update. Tried to install @types/testing-library, it didn't help.
Find testing-library/no-debug
in your Eslint config then change it to testing-library/no-debugging-utils
.
Ref: https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/migration-guides/v5.md#steps-to-upgrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With