When using the inbuilt
NuxtLink component to navigate between pages, use the 'to' prop instead of the 'href' attribute that is generally used with the HTML
<a> tag. Internal links can then be routed to using optimizations such as pre-fetching. Using 'href' with NuxtLink can lead to unintended bugs and minor performance issues.
If an import declaration's source is extraneous (it's not written in package.json), the program works in local, but will not work after dependencies are re-installed. It will cause troubles to your team/contributors. This rule disallows import declarations of extraneous modules.
Empty character classes in regular expressions do not match anything. Such syntax is often caused by a typo.
Node.js community is improving built-in APIs continuously. You can check Node.js Documentation to know which Node.js version supports each Node.js API. This issue reports unsupported Node.js built-in APIs on the configured Node.js version as lint errors. Editor integrations of ESLint would be useful to know it in real-time.