set up Biome

This commit is contained in:
2025-10-28 17:17:41 -04:00
parent 5a5c72850d
commit a1ea385448
39 changed files with 2476 additions and 719 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import { z, defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { defineCollection, z } from "astro:content";
import { glob } from "astro/loaders";
const blogCollection = defineCollection({
loader: glob({ pattern: '**\/*.md', base: './src/content/blog' }),
loader: glob({ pattern: "**/*.md", base: "./src/content/blog" }),
schema: z.object({
title: z.string(),
pubDate: z.string().transform((str: string) => new Date(str)),