Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rey-Wang opened this issue Apr 29, 2024 · 0 comments
Open

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

Rey-Wang opened this issue Apr 29, 2024 · 0 comments

Comments

@Rey-Wang
Copy link

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
- web
- package.json
- .storybook
- stories

Expected behavior
expect the eslint work properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant