jsx-no-unescaped-entities
NOTE: this rule is included the following rule sets:
recommended
react
jsx
fresh
Enable full set in
deno.json
:{ "lint": { "tags": ["recommended"] // ...or "react", "jsx", "fresh" } }
Enable full set using the Deno CLI:
deno lint --tags=recommended # or ... deno lint --tags=react # or ... deno lint --tags=jsx # or ... deno lint --tags=fresh
Leaving the >
or }
character in JSX is often undesired and difficult to
spot. Enforce that these characters must be passed as strings.
Invalid:
<div>></div>
<div>}</div>
Valid:
<div>></div>,
<div>{">"}</div>,
<div>{"}"}</div>,