Skip to content

Commit

Permalink
feat: add git precommit to auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 18, 2023
1 parent 575b664 commit 0163489
Show file tree
Hide file tree
Showing 5 changed files with 849 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ignore artifacts:
build
coverage
.next

# Ignore all HTML files:
*.html
Loading

1 comment on commit 0163489

@vercel
Copy link

@vercel vercel bot commented on 0163489 Mar 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.