ESLint error: '@storybook/react' should be listed in the project's dependencies, not devDependencies

Viewed 4189

After installing Storybook into a React.js app with ESLint, the VSCode linter wasn't picking up the @storybook/react imports in the examples .stories.js files.

It is giving me the following error:

'@storybook/react' should be listed in the project's dependencies, not devDependencies.eslintimport/no-extraneous-dependencies
1 Answers
Related