18 pre commit hooks #40
1 changed files with 1 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
bunx prettier . --write
|
||||
bunx eslint $(git diff --name-only HEAD | grep -E '\.(js|jsx)$' | xargs)
|
||||
bunx eslint $(git diff --name-only HEAD | grep -E '\.(*)$' | xargs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue