Skip to content

Commit 9e0d003

Browse files
committed
build: 更新项目构建和代码检查配置
- 修改 .gitignore 文件,移除对缓存目录的忽略 - 更新 lefthook.yml 文件,将 pre-commit 钩子中的 lint 命令改为 biome
1 parent 553a07b commit 9e0d003

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ node_modules
2525
.history
2626
!.vscode/extensions.json
2727

28-
# dist and cache
28+
# dist
2929
/dist
30-
/dist-*
31-
/dist_*
32-
.cache
3330

3431
# testing
3532
/coverage

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pre-commit:
55
parallel: true
66
commands:
7-
lint:
7+
biome:
88
glob: "*"
99
run: npx biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
1010
stage_fixed: true

0 commit comments

Comments
 (0)