From d718330fbae51a672a3bf6543108e895bea6068b Mon Sep 17 00:00:00 2001 From: Pascal Perrenoud Date: Fri, 12 Sep 2025 08:43:18 +0200 Subject: [PATCH] Add command check:fmt --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b391b54..efa6002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "scripts": { - "check": "clear ; npm run typecheck && npm run lint && npx prettier -c **/*.{js,jsx,ts,tsx} && npm run test && clear && echo 'OK'", + "check": "clear ; npm run typecheck && npm run lint && npm run check:fmt && npm run test && clear && echo 'OK'", + "check:fmt": "npx prettier -c **/*.{js,jsx,ts,tsx}", "fmt": "prettier --write **/*.{js,jsx,ts,tsx}", "lint": "eslint **/*.{js,jsx,ts,tsx}", "test": "bun test",