jsx_tag_auto_close: Fix `<Foo.Bar>` component auto-close (#27374)

- **support alternate tag name node names to fix autoclosing of
`<Foo.Bar>` style tags in TSX**
- **remove checks against close tag name while checking if tag is
closed**
- **move jsx tag auto close tests into jsx_tag_auto_close.rs**

Closes #27335

Release Notes:

- Fixed an issue with JSX tag auto-close where components containing a
`.` access like `<Foo.Bar>` would be auto-closed as `</>` instead of
`</Foo.Bar>`
f2be201495Ben Kunkle committed on 3/24/2025, 3:43:06 PM· committed by GitHubparent4371228
4 files changedLine totals unavailable