Can’t find modules…in eslintrc

Most people will set therir eslintrc like this:

"extends": "some-eslint-package",

With linter-eslint in Atom, you’ll get this error:

Error:Cannot find module "eslint-config-some-eslint-package" Referenced from: ...blah blah blah

You installed eslint-config-some-eslint-package locally, but Atom just can’t recognize it in node_modules.

All you need is type this and enter:

# npm
npm i eslint --save-dev
# yarn
yarn add eslint --dev
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.