pnpm lint
failing after creating path mapping in tsconfig.json
#5919
Unanswered
andrephilipsson
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I could use some help here.
I've searched for similar discussions and found #5866 but it doesn't seem to be the same issue.
I've created a new turborepo from the
with-tailwind
example. I then added a path mapping in tsconfig.json in one of the packages as can be seen in this diff: https://github.com/andrephilipsson/turbo-reproduction/commit/55d10d81f5ebf4e11c49647657e2e302575fac2bTo me, it seems like the eslint config in the with-tailwind example fails to use path mappings defined in tsconfig.json. This leads to eslint thinking the import is from an external dependency and thus failing the
import/no-extraneous-dependencies
rule. But I have no idea of how to solve it.All help is highly appreciated!
Screenshot of error
Reproduction
Beta Was this translation helpful? Give feedback.
All reactions