I'm installing eslint 4.1.1 and get the following message during install:
npm WARN [email protected] requires a peer of [email protected] - 3.x but
none is installed. You must install peer dependencies yourself
Am I missing something? Should the peer dependency be bumped?
I am not installing eslint globally so #989 and #916 are not applicable as this is being installed in a project specific folder.
That is an outdated version of eslint-plugin-import, which is not compatible with eslint 4.
Upgrade eslint-plugin-import to the latest version, and you'll be able to use it with eslint 4.
Thanks, I just figured out where it came from and have updated it accordingly. Sorry about the noise
Can you tell me how it was fixed. I am having same issue
@AwaisFayyaz what does npm ls print out?
A long tree structure. In between, this

And at the end

@AwaisFayyaz ok, so your issue is the same - you're using a too-old version of eslint-plugin-import, eslint-plugin-jsx-a11y, and eslint-plugin-react. Update all of them.
can you tell me the commands to update these. Thanks
The same commands you used to install them in the first place, basically. This repo isn鈥檛 the place to give an npm tutorial, unfortunately.