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.
19 lines
377 B
JSON
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"
|
|
]
|
|
}
|
|
}
|