diff --git a/package.json b/package.json index 62418b5..e7b3130 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,10 @@ "export-users-to-auth0": "ts-node --compiler=typescript-cached-transpile --transpile-only -r dotenv/config scripts/export-users-to-auth0.js" }, "eslintConfig": { - "extends": "react-app", + "extends": [ + "react-app", + "plugin:cypress/recommended" + ], "rules": { "no-console": [ "error", @@ -106,6 +109,7 @@ "cypress-plugin-snapshots": "^1.4.4", "dotenv-cli": "^3.1.0", "es6-promise-pool": "^2.5.0", + "eslint-plugin-cypress": "^2.11.2", "inquirer": "^7.3.3", "jest-image-snapshot": "^4.3.0", "prettier": "^2.0.5", diff --git a/yarn.lock b/yarn.lock index 1803e71..021c9ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9534,6 +9534,13 @@ eslint-module-utils@^2.6.0: debug "^2.6.9" pkg-dir "^2.0.0" +eslint-plugin-cypress@^2.11.2: + version "2.11.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-cypress/-/eslint-plugin-cypress-2.11.2.tgz#a8f3fe7ec840f55e4cea37671f93293e6c3e76a0" + integrity sha512-1SergF1sGbVhsf7MYfOLiBhdOg6wqyeV9pXUAIDIffYTGMN3dTBQS9nFAzhLsHhO+Bn0GaVM1Ecm71XUidQ7VA== + dependencies: + globals "^11.12.0" + eslint-plugin-flowtype@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-5.2.0.tgz#a4bef5dc18f9b2bdb41569a4ab05d73805a3d261" @@ -10664,7 +10671,7 @@ global@~4.3.0: min-document "^2.19.0" process "~0.5.1" -globals@^11.1.0: +globals@^11.1.0, globals@^11.12.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==