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

onlyMatch #298

Closed
oreporan opened this issue Oct 26, 2018 · 0 comments
Closed

onlyMatch #298

oreporan opened this issue Oct 26, 2018 · 0 comments

Comments

@oreporan
Copy link

Feature request description

The opposite of ignoreMatch (since from what I see ignore match isn't working with regex, I can't put ^)
in our monorepo I would like to use depcheck but only for our internal packages (not 3rd party libraries).
All of our packages have the same scope @some-internal-scope and I'd like depcheck to only look for these.
This is needed to running lerna run test on affect packages and their dependencies.

Code snippets (if applicable)

How the dependency is used (if applicable):

 onlyMatch: [ // only show dependencies that match these globs
    '@internal-scope'
  ],

Any extra info

I can make a PR if this is accepted

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