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
Liltripple_reidOP3y ago
further log
Liltripple_reid
Liltripple_reidOP3y ago
apart from that I'm also getting this now pages directory not found
Liltripple_reid
Liltripple_reidOP3y ago
[UPDATE]
Liltripple_reid
Liltripple_reidOP3y ago
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