Fix biome erroring with no changed files

This commit is contained in:
Sirz Benjie 2025-03-07 21:55:22 -06:00
parent f1988cf237
commit 2f06dea2f7
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ pre-commit:
commands:
biome-lint:
glob: "*.{js,jsx,ts,tsx}"
run: npx @biomejs/biome check --write --reporter=summary {staged_files}
run: npx @biomejs/biome check --write --reporter=summary
stage_fixed: true
skip:
- merge
@ -13,7 +13,7 @@ pre-push:
commands:
biome-lint:
glob: "*.{js,ts,jsx,tsx}"
run: npx @biomejs/biome check --write --reporter=summary {push_files}
run: npx @biomejs/biome check --write --reporter=summary
post-merge:
commands:

View File

@ -17,7 +17,7 @@
"eslint": "eslint --fix .",
"eslint-ci": "eslint .",
"biome": "biome check --write",
"biome-ci": "biome ci --changed",
"biome-ci": "biome ci",
"docs": "typedoc",
"depcruise": "depcruise src",
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",