mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 09:12:29 +08:00
Configure husky to use lint-staged
- Update pre-commit hook to run lint-staged instead of full eslint - Add lint-staged script to package.json - Only lint staged files during commit for better performance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -1 +1 @@
|
||||
pnpm eslint-fix
|
||||
pnpm lint-staged
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
"lint": "next lint",
|
||||
"fix": "eslint . --fix",
|
||||
"eslint-fix": "eslint . --fix",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user