From 621c2f1c02c1f516c047bfc2d5d5543de760fba1 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Mon, 22 Feb 2021 13:34:48 +0000 Subject: [PATCH] Configure parser: use ES2017 Also drop AMD support, we were not using it anyway. This effectively drops IE11 and legacy Edge, as they can't parse ES2017. --- index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.js b/index.js index 095de79..4c4c7e8 100644 --- a/index.js +++ b/index.js @@ -303,12 +303,7 @@ module.exports = { "env": { "browser": true, "node": true, - "amd": true, - "es6": false - }, - "parserOptions": { - "ecmaVersion": 5, - "ecmaFeatures": {}, + "es2017": true }, "plugins": [ "jsdoc",