For what it's worth, I've been experiencing problems getting this working with Atom. It throws up errors in JS files after npm install --save-dev eslint-config-opentable eslint. On npm 2.x, installing eslint-plugin-import usually fixes it, but it seems very specific versions need to be installed for it all to work together. I haven't had time to investigate this further, though, but here's what works for me:
For what it's worth, I've been experiencing problems getting this working with Atom. It throws up errors in JS files after
npm install --save-dev eslint-config-opentable eslint
. On npm 2.x, installingeslint-plugin-import
usually fixes it, but it seems very specific versions need to be installed for it all to work together. I haven't had time to investigate this further, though, but here's what works for me:For npm 3.x, I found that running this command and installing the airbnb-base made it all work together nicely. From the airbnb-base repo: