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
Moving off deprecated dependencies #1985
Comments
Hi @arnfaldur ! You are totally right, and tslint has been adressed in #1979 (targeting immutable 5) If you would like to work on migration from dtslint to tsd, it would be great. You should target the 5.x branch though, as there is a lot of typescript-related changes in 5.x |
Hey there :) |
Cool! Let me know if you need help 👍 if you advance, or if you drop the subject tell me too, to know what to expect on my side 😉 |
Did you consider using TSTyche for type testing? It is a new tool, which I was developing for two years. The main motivation was to build a library which would work at any scale. For some time I was contributing type tests to Jest repo ( TSTyche's API is similar to what we are used to in JavaScript testing. It has test helpers like tstyche --target 4.8,latest Similar to Current TSTyche is If that sounds interesting, I would be happy to help migrating type tests to TSTyche. I think it would shine here. RedwoodJS, Jest (migration is in progress) and several smaller libraries are using it. |
Hi @mrazauskas Thanks for the link, I didn't knew TSTyche before. On the other hand, tsd is mature and still maintained. But, @arnfaldur is working on that one, and did start migrating to tsd in #1986. What is you opinion on TSTyche @arnfaldur ? Do you want to try it to compare ? |
The TSTyche library looks much nicer to me at a glance. I encountered some minor issues with I have however been working at this for some time now and want to work on something else for a while. But @mrazauskas can of course take a look at that. I might also be willing to check it out next weekend or something. |
Thanks for your work @arnfaldur, I will check this soon (in particular the modified tests). |
This is your project, so decision is yours. For my eye
The last bullet says it all. There is nobody excited about the project anymore. It is left to drift. This is a sad story. |
Hi @mrazauskas , it seems that you know a lot about the subject (probably way more that me at least 😅 ), and that you are really motivated on TSTyche. For immutablejs, it's not a really risky deal as it does change runtime, we could fallback to tsd if you ever abandon TSTyche. If you are willing to migrate immutable the type testing code-base, I will accept a PR 👍 (to be honest, if you don't I may try it myself, but it might be less perfect). |
Thanks for encouragement. This morning I started to prepare a sample PR with two test files. So we could see the difference. Also big thanks for @arnfaldur for all the job. I came here just because of the issue he opened in the |
This repository uses
tslint
which has been deprecated for 5 years https://palantir.github.io/tslint/It also uses
dtslint
directly which has been deprecated and moved to a monorepo which has a disclaimer not to depend on any of the tools https://github.com/microsoft/DefinitelyTyped-tools/blob/main/README.md#disclaimerThe
tslint
maintainers point totypescript-eslint
as a replacement and both https://github.com/tsdjs/tsd and https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type provide the linting capabilities ofdtslint
as they are used in theimmutable-js
project.Would you be interested in a pull request with a migration that replaces
tslint
anddtslint
witheslint
plugins?The text was updated successfully, but these errors were encountered: