Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to eslint 9 #292

Open
scriptnull opened this issue Dec 25, 2024 · 0 comments
Open

Upgrade to eslint 9 #292

scriptnull opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@scriptnull
Copy link

I ran into the following error when trying to install eslint-plugin-primer-react with a new react app initialized using vite.

$ npm install --save-dev eslint-plugin-primer-react
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^9.15.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.42.0" from [email protected]
npm ERR! node_modules/eslint-plugin-primer-react
npm ERR!   dev eslint-plugin-primer-react@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

Will it be okay if we bump up the eslint dependency in eslint-plugin-primer-react from 8 to 9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant