Skip to content

Commit

Permalink
Add Husky + lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Sep 21, 2024
1 parent a5718b9 commit 6e5bd0f
Show file tree
Hide file tree
Showing 4 changed files with 1,080 additions and 47 deletions.
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
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.ts": ["eslint --fix", "prettier --write"]
}
Loading

0 comments on commit 6e5bd0f

Please sign in to comment.