-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Provide linting support (eslint?) for deprecated extension APIs #94751
Comments
FYI @Ikuyadeu has some linting here: https://github.com/devreplay/devreplay/blob/master/src/rules/vscode.ts |
@eamodio Thank you for summarizing! I want to add the information that I could not tell due to my English. Left is deprecated code, right is setting file Also, implementing vscode-plugin like eslint-plugin-vue is good, but sounds costy. p.s. I plan to update them based on #88391 |
I love the idea and I am disappointed that TypeScript didn't look at this microsoft/TypeScript#33093. Pretty please, @DanielRosenwasser |
We were looking at this recently and we might have the information on hand to do this at least from things like completion. Whether we could do this for suggestion diagnostics might be another issue. |
In my idea, my extension and linter are MIT, so it can be used in this repository like language syntax files by the following steps.
How do you think? I hope to improve the extension development even linter ownership will be moved. |
TS now supports the |
Refs: #93604
It would be great if we provided a lint package that extension authors could use to identify deprecated APIs. Additionally, any other common mistakes, or anti-patterns we've seen used.
/cc @jrieken
The text was updated successfully, but these errors were encountered: