Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Using globs for directory is slow #12

@freshollie

Description

@freshollie

The recommended config for multiple directories is very slow (./packages/**/tsconfig.json)

This is probably due to the library walking the node_modules directories? Would it be possible to ignore the node_modules folders?

For now, I recommend explicit levels in the directories glob, which is much faster.

"settings": {
    "import/resolver": {
    "ts": {
      "directory": "./*/*/tsconfig.json" // Any package, but don't go deeper than the package root
    }
  }

Metadata

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