E0019: escaping '-' is not allowed in tag names; write '-' instead
JSX tag names and attributes can contain Unicode escape sequences starting with
\u
. It is a syntax error for a Unicode escape sequence to resolve to the -
character (U+002D):
To fix this error, write -
instead of \u{2d}
or \u002d
:
Introduced in quick-lint-js version 2.0.0.