🐛 BUG: data-astro-reload
should accept value
#1006
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
data-astro-reload
should accept value
#1006
What version of
@astrojs/compiler
are you using?2.8.0
What package manager are you using?
pnpm
What operating system are you using?
Linux
Describe the Bug
i want to be able to conditionally apply the
data-astro-reload
attribute, i.e.<a data-astro-reload={shouldReload || undefined}>
, but i get a warning that "The data-astro-reload attribute does not accept a value".the warning is surfaced via
eslint-plugin-astro
'svalid-compile
rule.Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-c53khs?file=index.js
The text was updated successfully, but these errors were encountered: