brouter-web/.eslintrc.json
Norbert Renner 74a6bcd92e Fix parse error for import() in older browsers (#571)
- add import() polyfill that evals in Function() and falls back to script tag injection
- add AbortController polyfill for MapLibre (lazy loaded so can be in bundle, not for Web Workers)
- support Firefox 56, last supporting old plugins before Web Extensions
2022-06-28 18:54:21 +02:00

10 lines
262 B
JSON

{
"extends": ["plugin:compat/recommended"],
"env": {
"browser": true,
"es2021": true
},
"settings": {
"polyfills": ["URL", "Promise", "navigator", "Uint8Array", "performance", "location.hostname", "document.body"]
}
}