Closed fcrick closed 5 years ago
I added a fix for that in Madge, but the fix should probably be in detective-typescript
instead. Eslint must be installed as a peer dependency when typescript-eslint-parser
is used. Agree @mrjoelkemp ?
I found out that using typescript-estree
instead of typescript-eslint-parser
actually solves the problem since it's not dependending on eslint.
Thanks for reporting @fcrick and thanks @pahen for pushing a fix. This landed in precinct, so a fresh install of dependency-tree should fix it. I'll bump the precinct version for dependency-tree and release a patch as well.
Sweeet! Works like a charm. Released Madge v3.4.3 with bumped dependency-tree now.
I get this after a fresh install:
Would be nice if this was mentioned somewhere - just getting a call stack is not ideal.