diff --git a/js/.eslintrc.js b/js/.eslintrc.js index 53e142ffff..134a34e7cb 100644 --- a/js/.eslintrc.js +++ b/js/.eslintrc.js @@ -90,6 +90,7 @@ module.exports = { // TODO: Set these rules to "error" when issues have been resolved. rules: { "cypress/no-unnecessary-waiting": "warn", + "cypress/unsafe-to-chain-command": "warn", "mocha/max-top-level-suites": "off", "mocha/no-exclusive-tests": "error", "mocha/no-identical-title": "off", diff --git a/js/package-lock.json b/js/package-lock.json index 56a8901157..371e807cc1 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -21,7 +21,7 @@ "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.3", - "eslint-plugin-cypress": "^2.12.1", + "eslint-plugin-cypress": "^2.13.1", "eslint-plugin-import": "^2.27.5", "eslint-plugin-lodash": "^7.4.0", "eslint-plugin-mocha": "^10.1.0", @@ -5103,9 +5103,9 @@ } }, "node_modules/eslint-plugin-cypress": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz", - "integrity": "sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.13.1.tgz", + "integrity": "sha512-THjc7IT3S9H4KwmRhzAhMGQaEqy78/7W75He/gBhJEH0vIuAY16vOI4YSliDo/ZY+Wm6DtvMHR+8uVvICcI3Lw==", "dev": true, "dependencies": { "globals": "^11.12.0" diff --git a/js/package.json b/js/package.json index c3e4b40aaa..43d3d99f97 100644 --- a/js/package.json +++ b/js/package.json @@ -19,7 +19,7 @@ "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.3", - "eslint-plugin-cypress": "^2.12.1", + "eslint-plugin-cypress": "^2.13.1", "eslint-plugin-import": "^2.27.5", "eslint-plugin-lodash": "^7.4.0", "eslint-plugin-mocha": "^10.1.0",