Teifko
Teifko
TTCTheo's Typesafe Cult
Created by Saurabh on 8/23/2024 in #questions
I am getting error in eslint. I tried searching for solutions but couldn't find any. Can anyone help
I found a solution and add it here, as this is the only search result for this error: I switched the type from /** @type {import("eslint").Linter.Config} */ in the .eslintrc.cjs to: /** @type {import("@typescript-eslint/utils/ts-eslint").ClassicConfig.Config} */, to explicitly tell it to use the classic config the Create T3 App is still using. I won't open a issue for this though, as there is already an issue open to switch to the new flat config anyway (https://github.com/t3-oss/create-t3-app/issues/1955), but until then this might help people using Create T3 App that want to use NextJS 15 with ESlint 9.
7 replies
TTCTheo's Typesafe Cult
Created by Saurabh on 8/23/2024 in #questions
I am getting error in eslint. I tried searching for solutions but couldn't find any. Can anyone help
I'm running into the same issue and this thread is the only thing I was able to find. The open issue has since been resolved and eslint 9 is now compatible with nextjs 15. Did anyone else run into this issue?
7 replies