ci(config): 🐛 add a default arg for fmt:check hook

This commit is contained in:
Julien Oculi 2024-03-12 15:26:14 +01:00
parent 409fd1477f
commit a5558ce1af

View file

@ -5,7 +5,7 @@
"hooks:install": "deno run --allow-read=. --allow-write=./.git/hooks https://deno.land/x/denoh@v3.2.0/denoh.ts",
//Global
"check": "deno task web:check",
"fmt:check": "git diff --name-only --staged | xargs deno fmt --check",
"fmt:check": "git diff --name-only --staged | xargs deno fmt --check deno.jsonc",
"dev:deploy": "deno task dev:deploy:reset && deno task dev:deploy:send && deno task dev:deploy:start",
"dev:deploy:reset": "ssh julien@gowest.local \"rm -rf gowest/*\"",
"dev:deploy:send": "scp -r \"$(pwd)/*\" julien@gowest.local:gowest/",