From d74dbeb27d10bae49aa78743fa9a0a7b65d0064a Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" <23040076+greenkeeper[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2019 20:39:58 +0000 Subject: [PATCH 1/2] chore(package): update eslint to version 6.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 22f176a..9f20d3a 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@commitlint/cli": "^8.1.0", "@commitlint/config-conventional": "^8.1.0", "@wordpress/npm-package-json-lint-config": "^2.1.0", - "eslint": "^5.16.0", + "eslint": "^6.3.0", "eslint-plugin-jest": "^22.4.1", "eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#b65ae0cea1199c9714641ed3be7ea98fcb27dd6c", "husky": "^3.0.3", From 48991dfd7380803a6c3e70b78ac632feb1ac8436 Mon Sep 17 00:00:00 2001 From: Stephen Edgar Date: Sat, 5 Oct 2019 18:12:46 +1000 Subject: [PATCH 2/2] chore: add `ecmaVersion: 2015,` to `parserOptions` ESLint config --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 91512ca..2c23ee4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,6 +8,7 @@ "plugin:jest/recommended" ], "parserOptions": { + "ecmaVersion": 2015, "sourceType": "module" }, "plugins": [