Unverified Commit 2d99073b authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: pin eslint version to 8 in test to avoid breaking changes (#64202)

x-ref:
https://github.com/vercel/next.js/actions/runs/8598454715/job/23559349141?pr=64110

Follow up for #64141

Closes NEXT-3028
parent baaca4b6
...@@ -26,7 +26,8 @@ describe('New Link Behavior with material-ui', () => { ...@@ -26,7 +26,8 @@ describe('New Link Behavior with material-ui', () => {
'prop-types': 'latest', 'prop-types': 'latest',
react: 'latest', react: 'latest',
'react-dom': 'latest', 'react-dom': 'latest',
eslint: 'latest', // Use minimum peer dep version instead of v9 of eslint to avoid breaking changes
eslint: '8.56.0',
'eslint-config-next': 'latest', 'eslint-config-next': 'latest',
}, },
}) })
......
...@@ -95,7 +95,8 @@ describe('eslint plugin deps', () => { ...@@ -95,7 +95,8 @@ describe('eslint plugin deps', () => {
'@types/node': 'latest', '@types/node': 'latest',
'@types/react': 'latest', '@types/react': 'latest',
'@types/react-dom': 'latest', '@types/react-dom': 'latest',
eslint: 'latest', // Use minimum peer dep version instead of v9 of eslint to avoid breaking changes
eslint: '8.56.0',
'eslint-config-next': 'latest', 'eslint-config-next': 'latest',
typescript: 'latest', typescript: 'latest',
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment