@rintenki/jsx-parser
v0.14.5
Published
JSX/TSX parser for rintenki HTML linter
Downloads
1,686
Readme
@rintenki/jsx-parser
JSX/TSX parser plugin for rintenki HTML linter.
Install
npm install @rintenki/jsx-parserUsage
The parser is auto-detected when installed. To configure explicitly:
{
"parser": {
".jsx": "@rintenki/jsx-parser",
".tsx": "@rintenki/jsx-parser"
}
}How it works
Parses the AST via oxc-parser (Rust), extracts HTML elements, and maps React attributes (className -> class) so that rintenki can lint JSX/TSX files.
License
MIT
