diff --git a/.lintstagedrc.json b/.lintstagedrc.json index a6328f8..2412492 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,3 +1,4 @@ { - "*.ts": ["eslint --fix", "prettier --write"] + "*.ts": ["eslint --fix", "prettier --write"], + "*.{jpg,jpeg,png}": ["tsx build/optimize.ts"] }