ESLint: ‘cy’ is not defined (Cypress)

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: “eslintConfig”: { “extends”: [ “plugin:cypress/recommended” ] },

tech