diff --git a/cypress/integration/page.spec.js b/cypress/integration/page.spec.js index 847b35e235..9762287768 100644 --- a/cypress/integration/page.spec.js +++ b/cypress/integration/page.spec.js @@ -20,7 +20,8 @@ Cypress.on('fail', (e) => { describe('Page', () => { beforeEach(() => { - if (failed) Cypress.runner.stop(); + // Other tests are executed anyway, so it is better to see all errors + // if (failed) Cypress.runner.stop(); cy.visit('/'); }); diff --git a/package-lock.json b/package-lock.json index 725aeca44a..b9c887d65e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2044,49 +2044,17 @@ } }, "@mate-academy/eslint-config-react-typescript": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@mate-academy/eslint-config-react-typescript/-/eslint-config-react-typescript-1.0.2.tgz", - "integrity": "sha512-aL7/2R8PekvqMkVY0zS8eFuCsTLOlSLFea/cWz4ulkQKWh02N8s0TUOeSZb+K3ZtKizALPPtmqUPxId6VVk/DA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@mate-academy/eslint-config-react-typescript/-/eslint-config-react-typescript-1.0.11.tgz", + "integrity": "sha512-KDoPUlGwmjIUc5N2fG+TjAcUDyjQ9BGJLMxx2WuU84J8rCUFbnWl8zBwLKtvKnJWLEQ1xuumMH5oDH4pw4RWgw==", "dev": true, "requires": { - "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-react": "^6.10.3", + "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.2.0" - }, - "dependencies": { - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - } - }, - "eslint-plugin-react": { - "version": "6.10.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-6.10.3.tgz", - "integrity": "sha1-xUNb6wZ3ThLH2y9qut3L+QDNP3g=", - "dev": true, - "requires": { - "array.prototype.find": "^2.0.1", - "doctrine": "^1.2.2", - "has": "^1.0.1", - "jsx-ast-utils": "^1.3.4", - "object.assign": "^4.0.4" - } - }, - "jsx-ast-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz", - "integrity": "sha1-OGchPo3Xm/Ho8jAMDPwe+xgsDfE=", - "dev": true - } } }, "@mate-academy/scripts": { @@ -3498,17 +3466,6 @@ "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, - "array.prototype.find": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array.prototype.find/-/array.prototype.find-2.1.2.tgz", - "integrity": "sha512-00S1O4ewO95OmmJW7EesWfQlrCrLEL8kZ40w3+GkLX2yTt0m2ggcePPa2uHPJ9KUmJvwRq+lCV9bD8Yim23x/Q==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0" - } - }, "array.prototype.flat": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.5.tgz", diff --git a/package.json b/package.json index 30a00562a9..eef4a2167d 100755 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@cypress/webpack-dev-server": "^1.8.4", "@mate-academy/cypress-tools": "^1.0.4", "@mate-academy/eslint-config-react": "0.0.7", - "@mate-academy/eslint-config-react-typescript": "^1.0.1", + "@mate-academy/eslint-config-react-typescript": "^1.0.11", "@mate-academy/scripts": "^1.2.8", "@mate-academy/students-ts-config": "*", "@mate-academy/stylelint-config": "*",