Skip to content

Commit 95cd670

Browse files
committed
fix: resolve lint-staged duplicate key issue
- Remove duplicate '*.{ts,tsx}' pattern in .lintstagedrc.json - Remove inefficient TypeScript checking from pre-commit hooks - Keep fast formatting and linting checks for pre-commit - TypeScript validation handled comprehensively in CI pipeline
1 parent 2497657 commit 95cd670

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.lintstagedrc.json

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

0 commit comments

Comments
 (0)