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
+6 -8
View File
@@ -9,7 +9,10 @@
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint --ext .js --ext .ts --ext .astro"
"check:lint": "biome check",
"check:format": "bunx biome format",
"format": "bunx biome format --write",
"fix": "bunx biome lint --write"
},
"dependencies": {
"@astrojs/alpinejs": "^0.4.9",
@@ -28,13 +31,8 @@
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.10.4",
"bun-types": "1.3.0",
"eslint": "^9.37.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
"typescript-eslint": "^8.46.0"
"@biomejs/biome": "2.3.2",
"bun-types": "1.3.0"
},
"module": "index.ts",
"peerDependencies": {