add lint-staged (#49)

This commit is contained in:
Baobeld 2025-01-09 10:51:50 -05:00 committed by GitHub
parent 64f1f11133
commit a37a57b437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View file

@ -1,2 +1 @@
bunx prettier . --write
bunx eslint_d $(git diff --name-only HEAD | grep -E '\.(*)$' | xargs)
bunx lint-staged