Skip to content

Commit

Permalink
Use lint-stages for pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee committed Aug 9, 2023
1 parent 3b475a3 commit 8f9ef6b
Show file tree
Hide file tree
Showing 4 changed files with 1,904 additions and 5,507 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install pretty-quick --staged
npx --no-install lint-staged
2 changes: 1 addition & 1 deletion .npm-upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"reason": "ESM only"
}
}
}
}
Loading

0 comments on commit 8f9ef6b

Please sign in to comment.