diff --git a/.eslintrc.js b/.eslintrc.js index 5a1d3666b301dfe41dd4b5426fe7a53190b0cd92..aeeca68fee6a891c9a1719140228cc0ef8d44598 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,6 +34,6 @@ module.exports = { 'linebreak-style': 0, }, settings: { - polyfills: ['fetch', 'Promise', 'url', 'object-assign'], + polyfills: ['fetch', 'promises', 'url', 'object-assign'], }, }; diff --git a/package.json b/package.json index ebc3ab64364b65a19cc820d15b1e00671f8b344d..2ab530bd47e6fdec8dd22f4ecfcdc86cdb6a7902 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^4.1.0", "eslint-plugin-babel": "^5.3.0", - "eslint-plugin-compat": "^2.7.0", + "eslint-plugin-compat": "^2.6.3", "eslint-plugin-import": "^2.16.0", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-markdown": "^1.0.0",