From 75f285e5d01ebd94ee0e92c2afb1c4474059dbc0 Mon Sep 17 00:00:00 2001 From: Ben Kucera <14625260+Bkucera@users.noreply.github.com> Date: Fri, 9 Aug 2019 13:47:06 -0400 Subject: [PATCH] chore(deps): update deps, eslint --- .eslintignore | 3 +++ .eslintrc.json | 11 +++++++++++ cypress/.eslintrc.json | 8 ++++++++ package.json | 23 ++++++++++++++--------- src/.eslintrc.json | 8 ++++++++ 5 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 .eslintignore create mode 100644 .eslintrc.json create mode 100644 cypress/.eslintrc.json create mode 100644 src/.eslintrc.json diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..1f18dfa --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +!.* +**/package-lock.json +cypress/fixtures diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..ca271b7 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,11 @@ +{ + "plugins": [ + "@cypress/dev" + ], + "extends": [ + "plugin:@cypress/dev/general" + ], + "rules": { + "prefer-rest-params": "off" + } +} diff --git a/cypress/.eslintrc.json b/cypress/.eslintrc.json new file mode 100644 index 0000000..54eee07 --- /dev/null +++ b/cypress/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "plugins": [ + "cypress" + ], + "extends": [ + "plugin:cypress/recommended" + ] +} diff --git a/package.json b/package.json index 5c6c5e2..81196a1 100644 --- a/package.json +++ b/package.json @@ -6,18 +6,23 @@ "scripts": { "test": "node test.js" }, - "keywords": [ - "cypress", - "plugin", - "retry" - ], + "devDependencies": { + "@cypress/eslint-plugin-dev": "^3.7.1", + "@cypress/eslint-plugin-json": "^3.2.1", + "cypress": "^3.1.5", + "eslint": "^5.16.0", + "eslint-plugin-cypress": "^2.6.0", + "eslint-plugin-mocha": "^6.0.0" + }, + "license": "MIT", "repository": { "type": "git", "url": "git://github.com/Bkucera/cypress-plugin-retries.git" }, "author": "Ben Kucera", - "license": "MIT", - "devDependencies": { - "cypress": "^3.1.5" - } + "keywords": [ + "cypress", + "plugin", + "retry" + ] } diff --git a/src/.eslintrc.json b/src/.eslintrc.json new file mode 100644 index 0000000..54eee07 --- /dev/null +++ b/src/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "plugins": [ + "cypress" + ], + "extends": [ + "plugin:cypress/recommended" + ] +}