From 079d613b2e6af7d457517e6270045e977aee8a85 Mon Sep 17 00:00:00 2001 From: dswbx Date: Tue, 11 Nov 2025 16:42:19 +0100 Subject: [PATCH] adjust biome configuration for improved linting and file inclusion add specific file exclusions in `biome.json` to refine file tracking and adapt linting script in `package.json` to automatically write changes. --- biome.json | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/biome.json b/biome.json index 3608d25..278fd1c 100644 --- a/biome.json +++ b/biome.json @@ -32,6 +32,7 @@ "files": { "includes": [ "**", + "!!**/.tsup", "!!**/node_modules", "!!**/.cache", "!!**/.wrangler", @@ -45,7 +46,7 @@ }, "linter": { "enabled": true, - "includes": ["**"], + "includes": ["**", "!!**/vitest.config.ts", "!!app/build.ts"], "rules": { "recommended": true, "a11y": {}, diff --git a/package.json b/package.json index b925720..83b56c2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "ci": "find . -name 'node_modules' -type d -exec rm -rf {} + && bun install", "npm:local": "verdaccio --config verdaccio.yml", "format": "bunx biome format --write ./app", - "lint": "bunx biome lint --changed ./app" + "lint": "bunx biome lint --changed --write ./app" }, "dependencies": {}, "devDependencies": {