Skip to content

Commit e80b985

Browse files
committed
fix: apply final Copilot feedback improvements
- Update Node.js version to '20.x' for more consistent builds - Improve TypeScript checking in pre-commit hooks to validate entire project - Separate ESLint fixes from TypeScript checking for better performance - Ensure cross-file type dependencies are properly validated
1 parent 4c52543 commit e80b985

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: '20'
21+
node-version: '20.x'
2222

2323
- name: Extract pnpm version from package.json
2424
id: get-pnpm-version

.lintstagedrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"*.{ts,tsx,js,jsx,json,md}": ["prettier --write"],
3-
"*.{ts,tsx}": ["eslint --fix", "tsc --noEmit --incremental"]
3+
"*.{ts,tsx}": ["eslint --fix"],
4+
"*": ["tsc --noEmit --incremental"]
45
}

0 commit comments

Comments
 (0)