1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add current Polyfills to the ESLint config

This commit is contained in:
MrTimscampi 2020-04-04 16:41:46 +02:00
parent 7dc762053b
commit 3c2bba3418

View file

@ -86,3 +86,17 @@ rules:
promise/no-return-wrap: ["warn"] promise/no-return-wrap: ["warn"]
# TODO: Remove after ES6 migration is complete # TODO: Remove after ES6 migration is complete
import/no-unresolved: ["warn"] import/no-unresolved: ["warn"]
settings:
polyfills:
# Native Promises Only
- Promise
# whatwg-fetch
- fetch
# document-register-element
- document.registerElement
# resize-observer-polyfill
- ResizeObserver
# Core-js
- Array.from
- Object.assign