springernature / eslint-config-springernature

ESLint shareable config used at Springer Nature
MIT License
3 stars 0 forks source link

Required peer dependencies are not installed #16

Open josebolos opened 6 years ago

josebolos commented 6 years ago

After upgrading shunter from @springernature/eslint-config@0.1.0 to @springernature/eslint-config@1.0.0, running npm install returns the following:

npm WARN @springernature/eslint-config@1.0.0 requires a peer of eslint-plugin-jest@^21.13.0 but none is installed. You must install peer dependencies yourself.

Relevant bits of the .eslintrc file:

"extends": [
    "@springernature/eslint-config",
    "@springernature/eslint-config/node"
],

I didn't add eslint-plugin-jest to shunter's devDependencies as I didn't realise it's necessary.

We need to: