Setup prettier pre-commit formatting with husky and lint-staged

- Install husky and lint-staged dev dependencies
- Configure pre-commit hook to run prettier on staged files
- Only format changed files to improve performance
- Prevents CI formatting failures by formatting locally
This commit is contained in:
olaservo 2025-08-18 08:43:09 -07:00
commit f7b1cd6f43

1
.husky/pre-commit Normal file
View file

@ -0,0 +1 @@
npx lint-staged