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:
parent
7dc762053b
commit
3c2bba3418
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue