brouter-web/.eslintrc.json
Norbert Renner 32107759e2 Re-add fetch polyfill (#727)
Removed in #367, but core-js does not include fetch, and eslint-plugin-compat just doesn't seem to complain when inside an if block.
2023-05-08 17:15:58 +02:00

19 lines
377 B
JSON

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