From ff67cf1cae7b7b46b5561be4e25906840c36d20a Mon Sep 17 00:00:00 2001 From: Andrew Armbruster Date: Sun, 28 May 2023 11:54:01 +0200 Subject: [PATCH] Support ES6 Syntax Bump ESLint's parser options to support ES6 syntax, which allows developers to start using a number of features associated with modern JavaScript. Doing this now that #2286 has been marked as resolved, since IE 11 support was the last known blocker for such changes. --- .eslintrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 57f97272..fab47749 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,11 +6,11 @@ "plugin:compat/recommended" ], "env": { - "es6": false, + "es6": true, "browser": true }, "parserOptions": { - "ecmaVersion": 5, + "ecmaVersion": 6, "sourceType": "script", "ecmaFeatures": { "globalReturn": false,