From cfa18733b4757d5d66d2cdaba4c77fe7fc041985 Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 12 Jun 2024 09:48:28 +0200 Subject: [PATCH] feat(package): add biome check script and biome devDependency This commit adds a new "check" script in the package.json that uses Biome for checking our codebase. It also includes Biome as a new development dependency to facilitate the use of the check script. --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f580106..e7abf61 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "check": "biome check --skip-errors --apply src" }, "dependencies": { "@fontsource-variable/kode-mono": "^5.0.3", @@ -62,6 +63,7 @@ "zod": "^3.23.8" }, "devDependencies": { + "@biomejs/biome": "1.8.1", "@types/jest": "^29.5.12", "@types/node": "^20", "@types/react": "^18",