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