What version of Oxlint are you using?
latest
What command did you run?
No response
What does your .oxlintrc.json (or oxlint.config.ts) config file look like?
No response
What happened?
For each <video> or <audio> element that violates media-has-caption, Oxlint reports the same error twice. ESLint correctly reports it once.
When <video> and <audio> has their child element, they report only once.
Reproduction
refer to playground
References
What version of Oxlint are you using?
latest
What command did you run?
No response
What does your
.oxlintrc.json(oroxlint.config.ts) config file look like?No response
What happened?
For each
<video>or<audio>element that violatesmedia-has-caption, Oxlint reports the same error twice. ESLint correctly reports it once.When
<video>and<audio>has their child element, they report only once.Reproduction
refer to playground
References