Skip to content

Commit

Permalink
Merge #578
Browse files Browse the repository at this point in the history
578: Add git hook to format and lint staged files r=D4nte a=D4nte

Make life easier by not having to think about running prettier.

Co-authored-by: Franck Royer <franck@status.im>
  • Loading branch information
status-bors-ng[bot] and D4nte authored Feb 28, 2022
2 parents f58f8c6 + 0bbefe7 commit b97adca
Show file tree
Hide file tree
Showing 4 changed files with 769 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

Loading

0 comments on commit b97adca

Please sign in to comment.