Add current Polyfills to the ESLint config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user