You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Since TS 2.2.2 there is support for plugins to tsserver.
I would like to be able to run the tslint plugin inside javascript-typescript-langserver, because:
It re-uses the already-parsed SourceFiles (performance improvement)
It automatically registers code fixes for lint diagnostics.
As they are implemented as wrappers to ts.LanguageService, all we should need to do is read the relevant settings from tsconfig and apply the plugin decorators whenever we construct a LanguageService.
The whole setup is documented at https://github.com/RyanCavanaugh/sample-ts-plugin.
Do you have any reservations against this? I may put together a PR for this to evaluate the cost