Skip to content

Commit 2d4e4e1

Browse files
authored
ci: use eslint as formatter (#95)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated Node.js version requirements to 22.16.0 for improved consistency. - Upgraded Codecov GitHub Action to a newer version in workflow. - Adjusted scripts and linting configuration for streamlined formatting and code checks. - **Other** - Added an empty changeset file for future release tracking. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 932e8d9 commit 2d4e4e1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.changeset/shy-bottles-rescue.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
run: pnpm run test:cov
3535

3636
- name: Upload coverage to Codecov
37-
uses: codecov/[email protected].0
37+
uses: codecov/[email protected].3
3838
with:
3939
token: ${{ secrets.CODECOV_TOKEN }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
22.16.0

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@
3838
"test:cov": "vitest run --coverage",
3939
"test:run": "vitest run",
4040
"test:ui": "vitest --ui",
41-
"version-packages": "changeset version && pnpm run format"
41+
"version-packages": "changeset version && pnpm run lint"
4242
},
4343
"lint-staged": {
44-
"!(pnpm-)*.{cjs,js,mjs,ts,json,md,mdx,yaml,yml}": "pnpm exec prettier --write",
4544
"*.{cjs,js,mjs,ts}": "eslint --fix",
4645
"package.json": "pnpm dlx sort-package-json"
4746
},
@@ -74,7 +73,7 @@
7473
},
7574
"packageManager": "[email protected]",
7675
"engines": {
77-
"node": ">=22"
76+
"node": "^22.16.0"
7877
},
7978
"pnpm": {
8079
"onlyBuiltDependencies": [

0 commit comments

Comments
 (0)