From b0015925d0a8b80d0308677ac9f4a3ee7ffef7d9 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 2 Apr 2024 00:10:11 +0200 Subject: [PATCH] split between format check and format write --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7663f16..95074fb 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js", "debug": "npx tsnd --respawn ./src/index.ts", "lint": "npx eslint src", - "format": "npx prettier --check src" + "format-check": "npx prettier --check src", + "format-write": "npx prettier --write src" }, "repository": { "type": "git",