Does typescript-eslint support syntax extension, similar to acorn's syntax inheritance? #10140
Replies: 2 comments 1 reply
-
Uh oh! @alamhubb, the image you shared is missing helpful alt text. Check your discussion body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
|
Beta Was this translation helpful? Give feedback.
-
Nope! Our project is directly built on top of TS's parser. This is mentioned on our parser's readme:
If you want some other format then -- like vue, angular or other such languages -- you will need to pre-process the code before it is passed to our tooling. |
Beta Was this translation helpful? Give feedback.
-
Body
I want to extend the syntax of ts, something similar to jsx, but different from jsx. I have searched for front-end tools, acorn, babel, tsc, esprima, but none of them can implement the relevant functions. chevrotain lacks support for ts, antlr4 and tree-sitter do not use js syntax, and I have seen others recommend typescript-eslint in several places.
acornjs/acorn#1162 (comment)
microsoft/TypeScript#4897
Additional Info
Any additional info...
Before you submit your discussion, please confirm the following. If any of these required steps are not taken, we may not be able to review your RFC. Help us to help you!
Beta Was this translation helpful? Give feedback.
All reactions