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
Emit diagnostics for semantic validations. #10
Comments
This will have to be an ES build plugin because a language service plugin can not fail the build since they don't run during |
Actually, nevermind, we can use ts-morph! https://github.com/nonara/ts-patch#altering-diagnostics |
Nevermind (again!), according to https://github.com/nonara/ts-patch#notes
We will have to do a language service plugin. In order to share validation logic between the language service plugin, I propose we have two separate compile passes:
They will both use the |
Implement a TypeScript Language Service Plugin which adds domain-specific diagnostics.
https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin
The text was updated successfully, but these errors were encountered: