Skip to content

Commit b4faab1

Browse files
committed
lint: 格式化代码
1 parent 7304814 commit b4faab1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: CI
55
# 2. pull_request: 针对 main 或 master 分支创建/更新 PR 时触发
66
on:
77
push:
8-
branches: [ "main", "master" ]
8+
branches: [main, master]
99
pull_request:
10-
branches: [ "main", "master" ]
10+
branches: [main, master]
1111

1212
jobs:
1313
test-and-lint:
@@ -54,4 +54,4 @@ jobs:
5454
with:
5555
name: coverage-report
5656
path: coverage/
57-
retention-days: 7
57+
retention-days: 7

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dev": "tsdown --watch",
3232
"test": "vitest",
3333
"test:coverage": "vitest run --coverage",
34-
"lint": "eslint .",
34+
"lint": "eslint . --fix",
3535
"typecheck": "tsc --noEmit",
3636
"prepublishOnly": "bun run build"
3737
},

0 commit comments

Comments
 (0)