ESLint: Allow `Map` and `Set` in ES5 code (#3328)
This commit is contained in:
parent
d6c5372616
commit
f5458431a0
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue