From 66c3e2009066784b1a09452d2c3f59e1b9b18197 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Wed, 22 Jan 2025 14:50:39 -0800 Subject: [PATCH] pin eslint to version 8 --- packages/gasket-plugin-lint/lib/utils.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/gasket-plugin-lint/lib/utils.js b/packages/gasket-plugin-lint/lib/utils.js index 07ebc1c68..f650acdb3 100644 --- a/packages/gasket-plugin-lint/lib/utils.js +++ b/packages/gasket-plugin-lint/lib/utils.js @@ -32,6 +32,11 @@ function makeGatherDevDeps(context) { const full = `${parsedName}@${version.trim()}`; const peerDeps = (await pkgManager.info([full, 'peerDependencies'])).data; + // TODO: revisit how we dervive eslint version + if (peerDeps.eslint) { + peerDeps.eslint = '^8.0.0'; + } + return { [parsedName]: parsedVersion || `^${version}`, ...(peerDeps || {})