I got that error after upgrading to cypress version 4+. I installed the eslint-plugin-cypress
https://github.com/cypress-io/eslint-plugin-cypress and activated it in the extends configuration either in package.json or in separate config file
Solution:
"eslintConfig": {
"extends": [
"plugin:cypress/recommended"
]
}
Leave a comment