Skip to content

"import-sort-cli" doesn't match files/directories starting with "+" ending up with "No files found for the given patterns" error #71

Description

@vladimiry

The core issue is in micromatch matching, used by globby internally, see playground here https://codesandbox.io/s/10p9160v7l

So a possible solution is to escaping "+" character, probably not only the plus one. Ie escaping each pattern before calling globby.sync here.

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions