Skip to content

Commit

Permalink
Optimize new images with lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Sep 21, 2024
1 parent a0c62e2 commit 44ae3f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"*.ts": ["eslint --fix", "prettier --write"]
"*.ts": ["eslint --fix", "prettier --write"],
"*.{jpg,jpeg,png}": ["tsx build/optimize.ts"]
}

0 comments on commit 44ae3f3

Please sign in to comment.