Add lint pre-commit hook using husky & lint-staged (#1973)

This commit is contained in:
Michael Telatynski
2024-11-05 12:12:22 +00:00
committed by GitHub
parent 595b7bd8b5
commit e268e1ad04
5 changed files with 268 additions and 5 deletions

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged --concurrent false