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

directory starting with a dot does not work #30

Closed
jirutka opened this issue Oct 2, 2019 · 1 comment
Closed

directory starting with a dot does not work #30

jirutka opened this issue Oct 2, 2019 · 1 comment

Comments

@jirutka
Copy link

jirutka commented Oct 2, 2019

The following example:

{
  "settings": {
    "import/resolver": {
      "typescript": {
        "directory": "./packages/*/tsconfig.json"
      }
    }
  }
}

doesn’t work, globSync() (from tiny-glob) resolves nothing. It works without the leading ./, i.e. packages/*/tsconfig.json.

(I spent an hour trying to figure out why the heck I’m still getting unresolved import errors even after changing my configuration to exactly match the examples. ☹️)

@JounQin
Copy link
Collaborator

JounQin commented Oct 2, 2019

Hmmm... Sorry about that, maybe we should post another issue to tiny-glob instead.

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

No branches or pull requests

2 participants