Add option to apply swc `ts_resolver` on parse
dsherret opened this issue · comments
David Sherret commented
We should move in this code from deno_lint to this crate so it can be used in the deno lsp. I'm not sure exactly what that entails...
Once this is done, we should open up a PR in deno to reuse the ast for linting.
Bartek Iwańczuk commented
We need to double check if this change won't have impact on other tools. CC @kdy1 can you advise?
Donny/강동윤 commented
It will not affect other tools if they don't use span hygiene to distinguish identifiers.
I don't expect applying ts_resolver
twice to break code, because it ignores identifiers with a non-empty syntax context.