Skip to content

Make JSX/TSX a plugin, to prove out custom parser support. #1721

Description

@NullVoxPopuli

pls don't build in JSX/TSX

The first linter / parser that has generic language supports wins everyone <3

We have:

script in html (clearly defined markers)

  • vue
  • svelte

html in script (clearly defined markers)

  • angular (sorta)
  • ember

hard mode (interwoven everywhere)

  • jsx

* in markdown

  • mdx
  • astro
  • other docs tools

eslint allows the smooshing of nested ASTs, which means lint rules can span both JS and <nested language> -- it's very nice. I've yet to see any of the new linters get to this level of flexibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions