From fc677e734cf82436754247b3e479b588b7200341 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Mon, 9 Nov 2020 13:58:01 -0500 Subject: [PATCH] update eslint and babel-eslint versions, one change to obey new rule --- .eslintrc.js | 14 +++++++------- package.json | 4 ++-- src/font-inliner.js | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 7ab7340..3b305de 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,10 +1,10 @@ module.exports = { extends: ['scratch', 'scratch/es6', 'scratch/node'], - "globals": { - "document": true, - "window": true, - "DOMParser": true, - "Image": true, - "XMLSerializer": true, - } + globals: { + document: true, + window: true, + DOMParser: true, + Image: true, + XMLSerializer: true + } }; diff --git a/package.json b/package.json index 6f73f9c..51da42e 100644 --- a/package.json +++ b/package.json @@ -31,11 +31,11 @@ }, "devDependencies": { "babel-core": "6.26.0", - "babel-eslint": "^8.1.2", + "babel-eslint": "^10.1.0", "babel-loader": "7.1.5", "babel-preset-env": "1.6.1", "copy-webpack-plugin": "^4.5.1", - "eslint": "^4.14.0", + "eslint": "^7.13.0", "eslint-config-scratch": "^5.0.0", "eslint-plugin-import": "^2.12.0", "jsdom": "^13.0.0", diff --git a/src/font-inliner.js b/src/font-inliner.js index 1f3970b..349add2 100644 --- a/src/font-inliner.js +++ b/src/font-inliner.js @@ -36,7 +36,7 @@ const inlineSvgFonts = function (svgString) { if (fontsNeeded.size > 0) { let str = '