From 3c2bba341816229886b4926d940bf43890015f0a Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Sat, 4 Apr 2020 16:41:46 +0200 Subject: [PATCH] Add current Polyfills to the ESLint config --- .eslintrc.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.eslintrc.yml b/.eslintrc.yml index 8c9a20043..57df44775 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -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