eslint-plugin-react-pug icon indicating copy to clipboard operation
eslint-plugin-react-pug copied to clipboard

Variables used in `if else` condition are not marked as used

Open ezhlobo opened this issue 5 years ago • 0 comments

In the following snippet b variable is marked as unused.

const {a, b} = variables()

pug`
  if a
	p Hello

  else if b
	p Bye
`

ezhlobo avatar Dec 26 '19 10:12 ezhlobo