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

Unmet peer dependencies with the latest version ? #1422

Closed
Clafouti opened this issue May 22, 2017 · 3 comments
Closed

Unmet peer dependencies with the latest version ? #1422

Clafouti opened this issue May 22, 2017 · 3 comments

Comments

@Clafouti
Copy link

Clafouti commented May 22, 2017

Hi,
npm info "eslint-config-airbnb@latest" peerDependencies

returns

{ eslint: '^3.19.0',
'eslint-plugin-jsx-a11y': '^5.0.1',
'eslint-plugin-import': '^2.2.0',
'eslint-plugin-react': '^7.0.1' }

but when I install those packages, I still have 2 unmet dependencies :

UNMET PEER DEPENDENCY eslint-plugin-jsx-a11y@2.2.3 
UNMET PEER DEPENDENCY eslint-plugin-react@6.4.1 

Any idea ?

EDIT : I was looking for an answer and found this so I guess I'm in the same boat (using CRA).

@ljharb
Copy link
Collaborator

ljharb commented May 22, 2017

Yep, the issue is that other things in your tree are incompatible with the latest version of eslint-config-airbnb.

You can either downgrade to v14, or you can upgrade/replace the other things with something better.

@ljharb ljharb closed this as completed May 22, 2017
@Peripona
Copy link

@ljharb is it better to wait, if it is going to be fixed in sometime soon ?
on our project instead on downgrading to v14 and downgrading all peer dependencies based on that.
We wish to keep up to date with v15 and jsx@latest and allothers@latest
thanks

@ljharb
Copy link
Collaborator

ljharb commented Jul 25, 2017

It's now released, so you can upgrade using the install command in the readme to get the proper peer deps.

It's not important to always be on latest; and in eslint's ecosystem it's often not possible. The convenience of using a shared config means the tradeoff of not having full control over the dependency versions.

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

No branches or pull requests

3 participants