Skip to content

Commit

Permalink
ci: add pre-commit hook to lint and prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
intcreator committed Nov 12, 2024
1 parent ad613cb commit d8b8262
Show file tree
Hide file tree
Showing 4 changed files with 683 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# husky local debugging helper scripts
.husky/_
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
Loading

0 comments on commit d8b8262

Please sign in to comment.