Skip to content

Commit

Permalink
pin eslint to version 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mmason2-godaddy committed Jan 22, 2025
1 parent 8a9a496 commit 66c3e20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/gasket-plugin-lint/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {})
Expand Down

0 comments on commit 66c3e20

Please sign in to comment.