-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsx.json
More file actions
6 lines (6 loc) · 1.12 KB
/
Copy pathjsx.json
File metadata and controls
6 lines (6 loc) · 1.12 KB
1
2
3
4
5
6
{
"section": "jsx",
"original": "function App() {\n return <div>hi</div>\n}\n\nexport default App\n",
"edit": "<<<<<<< SKIP\n<<<<<<< skip\nfunction App() {\n // inline hint \"<<<<<<< SKIP\" inert in jsx line comment\n const hint = \"marker <<<<<<< SKIP inside string is inert\"\n const curl = 'curly “hi” with <<<<<<< skip inert'\n\tconst tabbed = \"tab indent kept as-is\"\n return (\n <div title=\"marker <<<<<<< SKIP inside attribute is inert\">\n {/* JSX comment: '<<<<<<< SKIP' inert */}\n <span>{'hello world'} | {hint} | {curl} | {tabbed}</span>\n </div>\n )\n}\n<<<<<<< Skip\nexport default App\n<<<<<<< SKIP\n",
"expected": "function App() {\n // inline hint \"<<<<<<< SKIP\" inert in jsx line comment\n const hint = \"marker <<<<<<< SKIP inside string is inert\"\n const curl = 'curly “hi” with <<<<<<< skip inert'\n\tconst tabbed = \"tab indent kept as-is\"\n return (\n <div title=\"marker <<<<<<< SKIP inside attribute is inert\">\n {/* JSX comment: '<<<<<<< SKIP' inert */}\n <span>{'hello world'} | {hint} | {curl} | {tabbed}</span>\n </div>\n )\n}\n\nexport default App\n"
}