Skip to content

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

Open
@Rey-Wang

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions