ESLint not working
Unanswered
Bengal posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
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
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/44415017de6fed2ccd5d44b4b2051ac0.webp?size=256)
joulev
does it give a warning when you use
<img>
?![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
BengalOP
@joulev thanks fo reply, it does give me a warning when using img tag
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/44415017de6fed2ccd5d44b4b2051ac0.webp?size=256)
joulev
yeah so it is working. iirc there is nothing wrong with using
<a>
, for example for external links![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
BengalOP
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
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/44415017de6fed2ccd5d44b4b2051ac0.webp?size=256)
joulev
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