-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
resolve .ts/.tsx/.d.ts first, and then fallback to @types/* #20
Conversation
1e73cce
to
9a4c30a
Compare
9a4c30a
to
b11ede3
Compare
@alexgorbatchev @bradzacher Do you have any time to review this PR? It is really needed. |
+1 for reviewing, really looking forward to having this. |
@rdsedmundo You can try |
Works like a charm with the |
Any news on a potential merge ? |
Hey guys, it seems @alexgorbatchev has 'disappeared' for a few months, or he just forgot this project, so I'm going to fork this repository and republish it as 'import/resolver': {
- typescript: {
+ ts: {
alwaysTryTypes: true,
},
}, If anyone is interested, you can follow eslint-import-resolver-ts, PR welcome. And I will not close this PR, in case @alexgorbatchev return. |
Great, thanks for taking the initiative. |
@JounQin if it's not too late, it's best to publish forks under a scope. |
Yes, exactly. |
@ljharb scoped package shorthand is supported by {
"@rxts/typescript": {}
} It's a bit long to me. It tried Resolve error: unable to load resolver "@rxts/typescript" What means if we change to a scoped package, we have to use: {
"@rxts/eslint-import-resolver-typescript": {}
} Seems bad to me. Of course, if |
i don’t believe we support a shorthand, but the priority imo shouldn’t be “what you have to copy and paste into your config file”, but rather “what will make it very clear this is a fork” |
@ljharb @trevorblades I'm not only going to fork it without other changes but also refactor, add new features and try to maintain it in the future. Of course, if @alexgorbatchev return and accept, I can PR back. Please help to review un-ts#10 if you don't mind. |
Sorry for MIA :( life... |
Welcome back @alexgorbatchev . So are you going to maintain this resolver in the future? I can PR back from my fork https://github.com/rx-ts/eslint-import-resolver-ts which has been refactored to be |
I think it would make sense to merge back. I can make you a collaborator on the repo. Would that work? |
@alexgorbatchev That would be great. |
Done
…On Fri, Sep 27, 2019, 17:15 JounQin ***@***.***> wrote:
@alexgorbatchev <https://github.com/alexgorbatchev> That would be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAQAYIIUR2JCOSZG4XKZFDQL2O3RANCNFSM4H4L4IEQ>
.
|
No description provided.