From 8e9f54f2380e8239586440eb8c7bf0aceb727322 Mon Sep 17 00:00:00 2001 From: Andrei Listochkin Date: Tue, 17 May 2022 16:07:30 +0100 Subject: [PATCH] use prettier to format the code --- editors/code/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editors/code/package.json b/editors/code/package.json index e2888a088d..2cc33a417f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -29,8 +29,8 @@ "build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16", "build": "npm run build-base -- --sourcemap", "watch": "npm run build-base -- --sourcemap --watch", - "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests", - "fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src ./tests --fix", + "lint": "prettier --check . && eslint -c .eslintrc.js --ext ts ./src ./tests", + "fix": "prettier --write . && eslint -c .eslintrc.js --ext ts ./src ./tests --fix", "pretest": "tsc && npm run build", "test": "cross-env TEST_VARIABLE=test node ./out/tests/runTests.js" },