[ESLint] Prevent `no-html-link-for-pages` from warning for static files (#31495)
The rule [`no-html-link-for-pages`](https://nextjs.org/docs/messages/no-html-link-for-pages) will incorrectly flag an `<a>`-tag intended to download a local asset. This PR adds an exception to the rule for any anchor element with a `download` attribute. Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment