From 38a315ac1c54d477fecd0d28deccd0959904c495 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Fri, 20 Mar 2026 19:20:13 +0000 Subject: [PATCH 1/2] Update eslint-plugin-cypress to version 6.2.0 --- package-lock.json | 22 +++++----------------- package.json | 2 +- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5ccd6eb3..d01aeff7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "cypress-file-upload": "^5.0.8", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-cypress": "^5.3.0", + "eslint-plugin-cypress": "^6.2.0", "eslint-plugin-vue": "^10.8.0", "esm": "^3.2.25", "flush-promises": "^1.0.2", @@ -4690,29 +4690,17 @@ } }, "node_modules/eslint-plugin-cypress": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-5.3.0.tgz", - "integrity": "sha512-qjHF2Sdi3VkXSMnfQeUqsbYnessgc6T2dus/Q1U+e5102GpPy9eLd8MWW2Xp2SS9bMpPNLnSHwktMhCKr0dIBg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-6.2.0.tgz", + "integrity": "sha512-G/8XT9Si0GaqGRVM0sgnRACCI9mbzsC4CisvaaiuJlQoCseKz6C51kq5fcC/yKmwO4dTsWCdhbgaiQtZFGSONg==", "dev": true, "dependencies": { - "globals": "^16.5.0" + "globals": "^17.3.0" }, "peerDependencies": { "eslint": ">=9" } }, - "node_modules/eslint-plugin-cypress/node_modules/globals": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", - "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint-plugin-vue": { "version": "10.8.0", "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-10.8.0.tgz", diff --git a/package.json b/package.json index f936de43..d6dad5ea 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "cypress-file-upload": "^5.0.8", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-cypress": "^5.3.0", + "eslint-plugin-cypress": "^6.2.0", "eslint-plugin-vue": "^10.8.0", "esm": "^3.2.25", "flush-promises": "^1.0.2", From 3aa4472cd448ff84092b96cd33636f7305e973bb Mon Sep 17 00:00:00 2001 From: Ben Topping Date: Tue, 24 Mar 2026 11:25:19 +0000 Subject: [PATCH 2/2] deps: adds unused eslint-plugin-cypress to eslint config --- eslint.config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 8fec59c4..bad12a15 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,6 @@ import js from '@eslint/js' import eslintConfigPrettier from 'eslint-config-prettier' +import pluginCypress from 'eslint-plugin-cypress' import pluginVue from 'eslint-plugin-vue' import globals from 'globals' @@ -7,6 +8,7 @@ export default [ ...pluginVue.configs['flat/recommended'], js.configs.recommended, eslintConfigPrettier, + pluginCypress.configs.recommended, { rules: { 'no-console': 'off', // It may be worth re-enabling this is we add proper error logging @@ -20,6 +22,7 @@ export default [ 'vue/no-v-model-argument': 'off', 'vue/multi-word-component-names': 'off', 'vue/require-prop-types': 'off', + 'cypress/no-unnecessary-waiting': 'off', }, }, { @@ -33,10 +36,6 @@ export default [ ...globals.node, ...globals.jest, ...globals.browser, - // Global vitest and Cypress variables so they don't violate no-undef - vi: 'readonly', - cy: 'readonly', - Cypress: 'readonly', }, }, },