storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook
MIT License
238 stars 42 forks source link

Eslint lint error after "!.storybook" added #154

Open Rey-Wang opened 2 months ago

Rey-Wang commented 2 months ago

Describe the bug After I added the !.storybook into the Eslint ignorePatterns, got the error that package.json path is not correct Error: `The provided path in your eslintrc.json - /****/monorepo/package.json is not a valid path to a package.json file or your package.json file is not in the same folder as ESLint is running from.

To Reproduce Steps to reproduce the behavior: my folder structure monorepo

Expected behavior expect the eslint work properly