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.
This commit is contained in:
dswbx
2025-11-11 16:42:19 +01:00
parent ff56d616d9
commit 079d613b2e
2 changed files with 3 additions and 2 deletions

View File

@@ -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": {},

View File

@@ -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": {