package j import ( . "github.com/alecthomas/chroma" // nolint "github.com/alecthomas/chroma/lexers/internal" ) // JSX lexer. // // This was generated from https://github.com/fcurella/jsx-lexer var JSX = internal.Register(MustNewLexer( &Config{ Name: "react", Aliases: []string{"jsx", "react"}, Filenames: []string{"*.jsx", "*.react"}, MimeTypes: []string{"text/jsx", "text/typescript-jsx"}, DotAll: true, }, Rules{ "commentsandwhitespace": { {`\s+`, Text, nil}, {`