Update ESLint configuration and schemas to use Zod library

- Changed ESLint configuration to target TypeScript files and added parser options for better integration.
- Updated various schemas across the application to replace `nestjs-zod/z` imports with `zod` for consistency.
- Refactored password validation in authentication schemas to use `z.string()` instead of `z.password()`.
- Enhanced date handling in user and resume schemas by introducing a new `dateSchema` utility.
- Updated `.ncurc.json` to target minor upgrades for dependencies.
This commit is contained in:
Amruth Pillai
2025-01-12 17:34:45 +01:00
parent 6fb0a72a56
commit 0053d696ff
28 changed files with 103 additions and 41 deletions

View File

@@ -14,6 +14,7 @@
"unique-names-generator": "^4.7.1",
"clsx": "^2.1.1",
"tailwind-merge": "^2.3.0",
"@swc/helpers": "~0.5.11"
"@swc/helpers": "~0.5.11",
"zod": "^3.24.1"
}
}