Is your feature request related to a problem? Please describe.
While I was working on a eslint plugin for validating react-intl usage I noticed that intl-messageformat-parser doesn't parse tags.
example: <download-link>text</download-link>
so I can't check that the tags used are being passed.
Describe the solution you'd like
Introduce an option and a new node type to the parser, for working with tags.
Add support without introducing a new option, and release it as a new major
Describe alternatives you've considered
Re-implementing some custom parser on top of the current one
Additional context
Hopefully such work can also be used inside react-intl and other framework libraries that interact with formatjs or ICU MessageFormat.
Which package?
intl-messageformat-parser
Is your feature request related to a problem? Please describe. While I was working on a eslint plugin for validating
react-intl
usage I noticed thatintl-messageformat-parser
doesn't parse tags.example:
<download-link>text</download-link>
so I can't check that the tags used are being passed.
Describe the solution you'd like
Describe alternatives you've considered Re-implementing some custom parser on top of the current one
Additional context Hopefully such work can also be used inside
react-intl
and other framework libraries that interact withformatjs
orICU MessageFormat
.