-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add rule S1874 ('deprecation') for TS #1432
Comments
The problem is that import/no-deprecated is able to detect only trivial cases, when deprecated symbol is imported. Still it's not able to resolve deprecated method calls. So we should write our own rule relying on type-checker. |
Nice work!
Would it be possible to port the rule to https://github.com/typescript-eslint/typescript-eslint? Or would the author and/or copyright holder give permission to directly port to to the BSD-2-Clause licensed typescript-eslint? |
@webmaster128 I've already asked that question in SonarSource/eslint-plugin-sonarjs#150 a while ago but it seems they are not so active in engaging with OS community here... To address your question - I've already ported this rule into separate ESlint plugin under LGPL 3 license, so you may want to check that out =) |
@vilchik-elena I'm also very interested in
|
We will try to contribute the rule to typescript-eslint plugin |
This is a tricky one, investigate rule implementation before applying it (does it work cross-file?)
The text was updated successfully, but these errors were encountered: