I got Next.js React app. Here is my code:
<Link href="/foo">
<a>Bar</a>
</Link>
eslint tells me this:
The href attribute is required for an anchor to be keyboard accessible.
But Next.js wants me to inculde an a
tag inside my Link
. Ho do I configure eslint properly or change my code so that it doesn't warn me about this? Aside from completely disabling this rule of course.