oxc/tasks
overlookmotel 8a178075b7 fix(parser): treat JSX element tags starting with _ or $ as IdentifierReferences (#5343)
#5223 added a new variant `JSXElementName::IdentifierReference` for JSX identifiers which are treated as references (e.g. `<Foo>`) as opposed to `JSXElementName::Identifier` which is for lowercase (e.g. `<div>`).

But we were incorrectly categorizing identifiers beginning with `_` or `$` - these should also be treated as references.

(as discussed in https://github.com/oxc-project/oxc/pull/5339#issuecomment-2321037779)
2024-08-30 14:47:06 +00:00
..
ast_tools chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00
benchmark ci(benchmark/transformer): enable all > es6 plugins (#5324) 2024-08-30 09:30:17 +00:00
common feat(coverage): check symbols and scopes after transformation (#4917) 2024-08-16 07:05:11 +00:00
coverage fix(parser): treat JSX element tags starting with _ or $ as IdentifierReferences (#5343) 2024-08-30 14:47:06 +00:00
javascript_globals chore: turn off doctest for all [[bin]] 2024-07-14 16:55:19 +08:00
lint_rules feat(docs): add tracking for plugins "promise" and "vitest" (#4668) 2024-08-05 19:01:44 -04:00
minsize feat(codegen)!: remove const generic MINIFY (#5001) 2024-08-20 08:13:27 +00:00
prettier_conformance fix(ast)!: merge UsingDeclaration into VariableDeclaration (#5270) 2024-08-28 11:26:05 +08:00
rulegen feat(rulegen): improve examples in documentation (#4815) 2024-08-10 18:48:59 -04:00
transform_conformance feat(ast)!: add JSXElementName::IdentifierReference and JSXMemberExpressionObject::IdentifierReference (#5223) 2024-08-30 11:11:04 +00:00
website chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00