eslint-plugin

@masknet/jsx/no-template-literal

Disallow use template-literal in JSX

Rule Details

:x: Incorrect

<element>{`example ${foo}`}</element>

:white_check_mark: Correct

<element>example {foo}</element>

Attributes