This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Overriding default rules #297
Comments
7 tasks
8 tasks
We shouldn't raise errors like this for .d.ts files inside node_modules IMO |
Where would the code be for that? Lines 51 to 55 in 285e5a9
but then add it behind a feature flag to not lint "dependencies" at all? Or am I misunderstanding the code? |
It looks like there's some intentional code under that to run linters against external code - @sandersn any idea what the goal for that is? |
Hi! Stumbled upon this issue because I'm facing the same problem – a broken CI pipeline due to a dependency using |
related #89 (comment) |
3 tasks
7 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Hi 👋🏻 ,
I'm using
dstlint
to help type an existing library,next-auth
, that runs on top of NextJS:nextauthjs/next-auth#220
The library depends on a few types from NextJS...
When running
dtslint
, it tries to parse the types from NextJS and throws an error given there's a// ts-ignore
comment somewhere on them:Following the docs, I tried to override that linting rule by writing my own
tslint.json
but it didn't make the error go away ( maybe it only applies to our declaration files? )Any chance we could get some help on this?
The text was updated successfully, but these errors were encountered: