ESLint: Allow `Map` and `Set` in ES5 code (#3328)
diff --git a/.eslintrc.js b/.eslintrc.js
index 6d5edc3..4a96cb8 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'