eslint-plugin-react-pug
eslint-plugin-react-pug copied to clipboard
Variables used in `if else` condition are not marked as used
In the following snippet b variable is marked as unused.
const {a, b} = variables()
pug`
if a
p Hello
else if b
p Bye
`