Error with t3-app `env`

I just added lint-staged with next lint --fix as a pre-commit hook and the log is showing me this. I have baseUrl: "." and paths: [{ "@/": "./src/" }]
4 Replies
Liltripple_reid
further log
Liltripple_reid
apart from that I'm also getting this now pages directory not found
Liltripple_reid
[UPDATE]
Liltripple_reid
managed to find the solution, I needed an special config for eslint and lint-stagedhttps://nextjs.org/docs/basic-features/eslint#lint-staged
Basic Features: ESLint | Next.js
Next.js provides an integrated ESLint experience by default. These conformance rules help you use Next.js in the optimal way.
Want results from more Discord servers?
Add your server