Add Biome and Husky for code formatting and Git hooks

This commit is contained in:
Aman Varshney
2025-03-22 22:51:59 +05:30
parent 0790fd0894
commit 996b35b78a
37 changed files with 609 additions and 437 deletions

View File

@@ -5,6 +5,6 @@ export default defineConfig({
out: "./migrations",
dialect: "postgresql",
dbCredentials: {
url: process.env.POSTGRES_URL!,
url: process.env.POSTGRES_URL || "",
},
});

View File

@@ -8,7 +8,7 @@ export const auth = betterAuth({
provider: "pg",
schema: schema,
}),
trustedOrigins: [process.env.CORS_ORIGIN!],
trustedOrigins: [process.env.CORS_ORIGIN || ""],
emailAndPassword: {
enabled: true,
},