split between format check and format write

This commit is contained in:
Mylloon 2024-04-02 00:10:11 +02:00
parent 836d50a982
commit b0015925d0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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",