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
+14
View File
@@ -86,3 +86,17 @@ rules:
promise/no-return-wrap: ["warn"]
# TODO: Remove after ES6 migration is complete
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