mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
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:
@@ -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": {},
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user