The Next.js plugin was not detected in your ESLint configuration #28485
-
I tried to follow the docs as best as possible, but now when I run
This is the
This is the
This is
Do you see anything wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello ! The second file seems to override the first. If you get rid of
it should fix your problem. |
Beta Was this translation helpful? Give feedback.
-
Can I ask that the above answer be fixed to include the correct file naming; and the file locations of these config files? |
Beta Was this translation helpful? Give feedback.
Hello !
I don't think you need both
.eslintrc.json
and.eslinrc.js
.In fact it might be the root cause of your issue.
The second file seems to override the first.
If you get rid of
.eslintrc.json
to only keep.eslinrc.js
and add the next plugin at the end like :it should fix your problem.