From f5458431a051c5ad27dfeba4a96fd14567d5a763 Mon Sep 17 00:00:00 2001
From: Michael Schmidt <mitchi5000.ms@googlemail.com>
Date: Thu, 10 Feb 2022 12:32:49 +0100
Subject: [PATCH] ESLint: Allow `Map` and `Set` in ES5 code (#3328)

---
 .eslintrc.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 6d5edc392f..4a96cb856e 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -131,7 +131,10 @@ module.exports = {
 				worker: true
 			},
 			globals: {
-				'Prism': true
+				'Prism': true,
+				// Allow Set and Map. They are partially supported by IE11
+				'Set': true,
+				'Map': true
 			},
 			rules: {
 				'no-var': 'off'