ESLint not working
Unanswered
Bengal posted this in #help-forum
BengalOP
It seems that eslint is not finding any errors/warnings even if I on purpose make a error it always returns 'No ESlint warnings or errors'
.eslintrc.json config
and for example when i put
in the code it does not find it
.eslintrc.json config
{
"extends": "next/core-web-vitals"
}
and for example when i put
<a href="/">Go to Home</a>
in the code it does not find it
7 Replies
does it give a warning when you use
<img>
?BengalOP
@joulev thanks fo reply, it does give me a warning when using img tag
yeah so it is working. iirc there is nothing wrong with using
<a>
, for example for external linksBengalOP
yeah it seems that it is working but something is wrong about that specific rule
I was trying to point to internal page, also i am using the app directory
instead of pages
you can send a PR to https://github.com/vercel/next.js/tree/canary/packages/eslint-plugin-next/src/rules to add a rule if you think it is a good addition