Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: eslint instructions are still for v8 #71864

Open
MonstraG opened this issue Oct 25, 2024 · 2 comments
Open

Docs: eslint instructions are still for v8 #71864

MonstraG opened this issue Oct 25, 2024 · 2 comments
Labels
Documentation Related to Next.js' official documentation.

Comments

@MonstraG
Copy link
Contributor

What is the documentation issue?

Documentation page for eslint config - https://nextjs.org/docs/app/building-your-application/configuring/eslint - still describes how to set everything up with Eslint 8.

So far I tried to follow #71763 (comment) instead (I don't wanna use the compat mode), but

TS7016: Could not find a declaration file for module @next/eslint-plugin-next.

Is there any context that might help us understand?

This is sort of duplicates #71763, but technically not, as that one is about what you get installed, and this one is about docs, and for me the docs matter more.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/building-your-application/configuring/eslint

@MonstraG MonstraG added the Documentation Related to Next.js' official documentation. label Oct 25, 2024
@soapproject
Copy link

#71806 (comment)
Maybe adding this npm command to the doc would also help. it saved my day 👍

@Sparticuz
Copy link

@MonstraG you can use // @ts-expect-error There are no types to mitigate that error. Most of my eslint plugins don't have types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

3 participants