diff --git a/package.json b/package.json index 9a78634..4e93e6d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "format": "prettier --write ." + "format": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --write", + "format:check": "prettier '**/*.{js,jsx,ts,tsx,html,css,scss,json,yml,md}' --check" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.0.0",