-
Notifications
You must be signed in to change notification settings - Fork 2k
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: learn -> improving-accessibility, missing something about accessiblity #838
Comments
Hello; pnpm add -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-next and modifiy the config .eslintrc.json: |
@EvivNotrub I run
still got error `5:3 Error: 'ExclamationCircleIcon' is defined but never used. @typescript-eslint/no-unused-vars info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules then add some rules as you mentioned
it works ! |
One thing I noticed is that in the Configuring: ESlint doc the Strict config option does not contain "next/typescript" in the .eslintrc.json. |
see - https://nextjs.org/learn/dashboard-app/improving-accessibility#using-the-eslint-accessibility-plugin-in-nextjs - work around for "Failed to load config "next/typescript" to extend from. " 👉 vercel/next-learn#838
I'm learning the chapter 14 about https://nextjs.org/learn/dashboard-app/improving-accessibility;
when I run
pnpm lint
what I expect
No ESLint warnings or errors
but I got
Failed to load config "next/typescript" to extend from. Referenced from: C:\WorkBench\Sweet\Next\nextjs-dashboard\.eslintrc.json
Is there any context that might help us understand?
I'm using
"next": "15.0.0-canary.56"
The .eslintrc.json file
The text was updated successfully, but these errors were encountered: