From c9eb7f251ab12a45b29c51a1fd31bcba76e8e6a8 Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Mon, 8 Jul 2019 16:52:48 +0200 Subject: [PATCH 1/2] Update all dev dependencies --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 6c0e553..c3cd7da 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "ramda": "^0.26.1" }, "devDependencies": { - "chai": "^4.1.2", - "coveralls": "^3.0.0", - "eslint": "^5.0.1", + "chai": "^4.2.0", + "coveralls": "^3.0.4", + "eslint": "^6.0.1", "eslint-config-holidaycheck": "^0.13.1", - "eslint-plugin-node": "^8.0.1", - "mocha": "^5.0.1", - "nyc": "^13.1.0", - "pr-log": "^3.0.0" + "eslint-plugin-node": "^9.1.0", + "mocha": "^6.1.4", + "nyc": "^14.1.1", + "pr-log": "^3.1.0" }, "peerDependencies": { "eslint": ">= 4.0.0" From 96b99c9469c9c61ae65a24d98f8bf3fc2adb1f1e Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Mon, 8 Jul 2019 16:52:59 +0200 Subject: [PATCH 2/2] Add missing ecmaVersion in test case --- test/rules/no-global-tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/rules/no-global-tests.js b/test/rules/no-global-tests.js index 0e4292f..c2204f4 100644 --- a/test/rules/no-global-tests.js +++ b/test/rules/no-global-tests.js @@ -104,7 +104,8 @@ ruleTester.run('no-global-tests', rule, { { code: 'import foo from "bar"; it("");', parserOptions: { - sourceType: 'module' + sourceType: 'module', + ecmaVersion: 2015 }, errors: [ { message: expectedErrorMessage, column: 24, line: 1 } ] }