Skip to content

Commit

Permalink
ESLint: Allow Map and Set in ES5 code (#3328)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Feb 10, 2022
1 parent d6c5372 commit f545843
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Expand Up @@ -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'
Expand Down

0 comments on commit f545843

Please sign in to comment.