rsnext/packages/eslint-plugin-next/lib/utils
Nils Kaspersson d1ce7b7c58
[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>
2021-11-19 03:39:36 +00:00
..
get-root-dirs.js Add rootDir setting to eslint-plugin-next (#27918) 2021-08-11 10:37:55 +00:00
node-attributes.js ESLint Plugin: Prefer next script component when using the inline script for Google Analytics. (#25147) 2021-08-16 13:55:07 -05:00
url.js [ESLint] Prevent no-html-link-for-pages from warning for static files (#31495) 2021-11-19 03:39:36 +00:00