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
Glint service provides a function getDiagnostics which is used by glint.fix plugin. The getDiagnostics function combines TS diagnostics together with glint ones, and does some post-processing. Unfortunately, this prevents us from using rehearsal-provided codefixes and requires duplicating the code from ts-codefixes.
The good part is that glint exposes a transformManager which allows us to reproduce getDiagnostics outside of glint.
This means we can try to implement glint-codefixes-collection to return glint-specific codefixes and consume base-codefixes and ts-codefixes directly from rehearsal source.
The text was updated successfully, but these errors were encountered:
Glint service provides a function getDiagnostics which is used by glint.fix plugin. The getDiagnostics function combines TS diagnostics together with glint ones, and does some post-processing. Unfortunately, this prevents us from using rehearsal-provided codefixes and requires duplicating the code from ts-codefixes.
The good part is that glint exposes a transformManager which allows us to reproduce getDiagnostics outside of glint.
This means we can try to implement glint-codefixes-collection to return glint-specific codefixes and consume base-codefixes and ts-codefixes directly from rehearsal source.
The text was updated successfully, but these errors were encountered: