FIXED
$ npm install eslint-plugin-cypress
Add .eslintrc.json to cypress directory
json
{
"extends": [
"plugin:cypress/recommended"
]
}
reactjs - ESLint: ‘cy’ is not defined (Cypress) - Stack Overflow
FIXED
$ npm install eslint-plugin-cypress
Add .eslintrc.json to cypress directory
json
{
"extends": [
"plugin:cypress/recommended"
]
}
reactjs - ESLint: ‘cy’ is not defined (Cypress) - Stack Overflow